Reposted
Stripe · Phone screen
In processStripe Internship Weighted Accept-Language Screen
Software engineer · InternshipSep 2021
Shared by
Role: Software Engineering Intern
Result: Not disclosed
Timing: September 10, 2021
The screen used four progressive Accept-Language phases:
- Match exact client tags against supported server tags.
- Let a generic client language match regional variants.
- Expand a wildcard into remaining supported languages.
- Sort matches by descending weight while keeping the earlier behavior working.
Missing weights defaulted to 1, and weighted and unweighted entries could appear together. The source did not preserve weight syntax, case handling, tie-breaking, or zero-weight behavior.
Practice: Accept-Language — Exact, Generic and Wildcard Matches.
0 total reactions. Your reactions: none.
0 comments
Comments
0No comments yet — be the first to share what you know.