Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use lowercase response headers in Rack example
Because HTTP/2 requires that headers are sent in lowercase, Rack has started validating that no header contains an uppercase letter. We were setting uppercase headers as that was a common convention in HTTP/1.1, where they were interpreted in a case-insensitive fashion. This change makes us compatible with Rack 3.0 without breaking compatibiility for older versions (not that it would matter for this example code).
- Loading branch information