Code: Select all
GET / HTTP/1.1
Host: example.com
Accept-Language: whatever
Whatever-Else: whateverModerator: General Moderators
Code: Select all
GET / HTTP/1.1
Host: example.com
Accept-Language: whatever
Whatever-Else: whateverIt usually has no body, right, but I don't see anything in rfc2616 about message-body being forbidden in GET requests. The same rfc states that in such cases server should read and ignore the body:Luke wrote:A GET request has no body, right?
Btw, SHOULD!=MUST, and I've read somewhere that apache+php would process data in the message-body (filling it in the superglobals).rfc2616 wrote:if the request method does not include defined semantics for an entity-body, then the message-body SHOULD be ignored when handling the request.