News for hackers. Stuff that matters.
Re:Httpstat.us: API for generating different HTTP codes. by jrockway on Tuesday February 15, 2011 @07:40AM (#2220982)
I never realized how little browsers knew about http. Firefox treats everything like 200, including things like 305. Odd.
Re:Httpstat.us: API for generating different HTTP codes. by tatham on Monday February 21, 2011 @11:40PM (#2248771)
The 300 series is not well supported. Most people don't even know that 307 exists - they always use 302.
Re:Httpstat.us: API for generating different HTTP codes. by stanleydrew on Tuesday February 15, 2011 @09:52AM (#2221361)
Counterexample: 401 pops up an authentication dialog.
Re:Httpstat.us: API for generating different HTTP codes. by steveklabnik on Tuesday February 15, 2011 @08:42AM (#2221114)
They don't support PUT or DELETE either, which means that people building RESTful APIs have to fudge it. Ugly.
Re:Httpstat.us: API for generating different HTTP codes. by mccutchen on Tuesday February 15, 2011 @10:24AM (#2221497)
Recent-ish WebKit and Firefox browsers do support PUT and DELETE in XHR requests. I'm pretty sure that any IE < 9 does not, not sure about IE 9 or Opera (though I'd guess Opera does support those verbs).
Re:Httpstat.us: API for generating different HTTP codes. by tjpick on Tuesday February 15, 2011 @03:17PM (#2223074)
one major problem is HTML forms doesn't have a way to generate these.
Re:Httpstat.us: API for generating different HTTP codes. by jrockway on Tuesday February 15, 2011 @04:44PM (#2223476)
I could invent one pretty easily. Instead of <form action="post">, it could be <form action="put">.