Forum

REQUEST_METHOD variable

Duke Normandin
30 December 2010, 20:54
If a form is missing the "method" attribute, do most browsers automatically assume a "GET" and send that to the server?

or is it the server that always assumes a "GET" if REQUEST_METHOD is not set?

I ask, because one of my scripts wasn't working as it should, so after looking at the html code, I saw that I had left the "method" attribute blank. However, Hiawatha showed that it had received a "GET" request.
Hugo Leisink
30 December 2010, 22:30
It is the browser which uses GET by default.
Duke Normandin
31 December 2010, 14:30
OK! Thanks...
This topic has been closed.