

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Headers
incomplete
2: Constraints
incomplete
3: Multiple Values
incomplete
4: Add to Parse
incomplete
5: Live Headers
incomplete
This lesson's interactive features are locked, please to keep using them
We have one more bug in our implementation. To new web developers, this can come as a shock, but it's actually perfectly valid (see RFC 9110 5.2) to have multiple values for a single header key. For example:
Set-Person: lane-loves-go
Set-Person: prime-loves-zig
Set-Person: tj-loves-ocaml
Is perfectly valid. The way we should handle this case is to combine the values into a single string, separated by a comma:
Set-Person: lane-loves-go, prime-loves-zig, tj-loves-ocaml
Run and submit the CLI tests.