We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Multiple Values

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

Assignment

Run and submit the CLI tests.