Tell HN: Please Stop Breaking HTTP Clients

https://news.ycombinator.com/item?id=705095
by tdavis • 17 years ago
124 30 17 years ago

For whatever ungodly reason, the news.yc web server doesn't terminate header lines properly when sending a response, which happens to break any HTTP client that actually follows the RFC. Please see RFC 2616 section 3.7.1 and use \r\n as God intended.

   This flexibility regarding
   line breaks applies only to text media in the entity-body; a bare CR
   or LF MUST NOT be substituted for CRLF within any of the HTTP control
   structures (such as header fields and multipart boundaries).
Thank you!

Related Stories

Loading related stories...

Source preview

news.ycombinator.com