Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Port to release/1.0.0: Allow whitespace after HTTP response header name#9224

Closed
stephentoub wants to merge 1 commit into
dotnet:release/1.0.0from
stephentoub:port9208
Closed

Port to release/1.0.0: Allow whitespace after HTTP response header name#9224
stephentoub wants to merge 1 commit into
dotnet:release/1.0.0from
stephentoub:port9208

Conversation

@stephentoub
Copy link
Copy Markdown
Member

Port #9208 to release/1.0.0

Be a bit more lenient in what we allow in the formatting of response headers on Unix. The RFC states that "Each header field consists of a case-insensitive field name followed by a colon (":"), optional leading whitespace, the field value, and optional trailing whitespace." However, whitespace between the header name and the colon is accepted by WinHttpHandler, by the .NET Framework, and by all browsers on which I tried it, and servers can easily include such whitespace; if they do and we're not tolerant of it, requests to such servers will fail.
@stephentoub
Copy link
Copy Markdown
Member Author

This will not make 1.0.

@stephentoub stephentoub closed this Jun 8, 2016
@stephentoub stephentoub deleted the port9208 branch June 8, 2016 20:06
@karelz karelz modified the milestone: 1.0.0-rtm Dec 3, 2016
@karelz karelz added os-linux Linux OS (any supported distro) and removed X-Plat labels Mar 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net os-linux Linux OS (any supported distro)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants