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

Merged
merged 1 commit into from Apr 14, 2015

Projects

None yet

3 participants

@lrowe
Contributor
lrowe commented Apr 16, 2014

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

@mgeisler

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.

@bertjwregeer bertjwregeer added this to the Version 1.5 milestone Mar 23, 2015
@bertjwregeer bertjwregeer merged commit 3ab11fd into Pylons:master Apr 14, 2015

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment