Skip to content

Use '\r\n' line endings in Response.__str__.#146

Merged
digitalresistor merged 1 commit into
Pylons:masterfrom
lrowe:crlf-line-endings
Apr 14, 2015
Merged

Use '\r\n' line endings in Response.__str__.#146
digitalresistor merged 1 commit into
Pylons:masterfrom
lrowe:crlf-line-endings

Conversation

@lrowe

@lrowe lrowe commented Apr 16, 2014

Copy link
Copy Markdown
Contributor

Response headers should have CRLF line endings the same as Request headers. http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.2

@mgeisler

Copy link
Copy Markdown

I wanted to use a Response instance for some hand-coded HTTP responses and was surprised to see \n separated lines. So yes, this looks correct and I think it should be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants