diff options
author | Cory Benfield <lukasaoz@gmail.com> | 2016-05-11 12:35:05 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-05-12 21:12:10 +0200 |
commit | 0761a51ee0551ad9e523cbdba24ce00d22fff9c1 (patch) | |
tree | cadc9f127ec405ca8b5c8f52db46bdf48d7c8a00 /tests/data/test1505 | |
parent | ea06ad2e31d6842605acd47ece0d4662a04df3a6 (diff) |
http2: Add space between colon and header value
curl's representation of HTTP/2 responses involves transforming the
response to a format that is similar to HTTP/1.1. Prior to this change,
curl would do this by separating header names and values with only a
colon, without introducing a space after the colon.
While this is technically a valid way to represent a HTTP/1.1 header
block, it is much more common to see a space following the colon. This
change introduces that space, to ensure that incautious tools are safely
able to parse the header block.
This also ensures that the difference between the HTTP/1.1 and HTTP/2
response layout is as minimal as possible.
Bug: https://github.com/curl/curl/issues/797
Closes #798
Fixes #797
Diffstat (limited to 'tests/data/test1505')
0 files changed, 0 insertions, 0 deletions