Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jrockway
· 15y ago · 0 comments
I never realized how little browsers knew about http. Firefox treats everything like 200, including things like 305. Odd.
Comments
[–]
tatham
15y ago
The 300 series is not well supported. Most people don't even know that 307 exists - they always use 302.
[–]
stanleydrew
15y ago
Counterexample: 401 pops up an authentication dialog.
[–]
steveklabnik
15y ago
They don't support PUT or DELETE either, which means that people building RESTful APIs have to fudge it. Ugly.
[–]
mccutchen
15y ago
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).
[–]
tjpick
15y ago
one major problem is HTML forms doesn't have a way to generate these.
[–]
jrockway
OP
15y ago
I could invent one pretty easily. Instead of <form action="post">, it could be <form action="put">.