News for hackers. Stuff that matters.
Re:Httpstat.us: API for generating different HTTP codes. by kodeninja on Tuesday February 15, 2011 @07:06AM (#2220924)
If you type http://httpstat.us/1000, it returns:

100 Unknown Status

Re:Httpstat.us: API for generating different HTTP codes. by eelco on Tuesday February 15, 2011 @07:53AM (#2221014)
To be fair, the website says: "If you send any other three digit number that's not in that list, we'll return it too."

They seem to simply truncate the number. E.g., http://httpstat.us/39487394587394857349587 returns "394 Unknown status", but http://httpstat.us/200129038123 will return "200 OK"

Re:Httpstat.us: API for generating different HTTP codes. by tatham on Monday February 21, 2011 @11:41PM (#2248774)
Nice catch. Seems we need to improve our regex. In our view, only three digit codes are valid.