Better HN
topnewbestaskshowjobs
Log inSign up

aaron-entropy

1 karma · joined May 17, 2011 (15y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

I noticed about a week or two ago, the HN RSS feed at http://news.ycombinator.com/rss suddenly started responding with a 301 redirect to http://news.ycombinator.com/ when the HTTP "Host" header in the request is not capitalized. Node.js sends all request headers in lower case, so this situation makes it impossible to access the HN RSS feed for those of us using Node as part of an RSS client (without very kooky workarounds).

RFC 2616 states that HTTP headers are case-insensitive; yet HN's RSS service responds happily to "Host:" and badly to "host:". Would be very grateful if this this problem could be corrected in the HN RSS service.