Is this a valid HTTP header for posting data?
Code:POST /garnet/server/test.php HTTP/1.0
Accept: */*
s=something
Printable View
Is this a valid HTTP header for posting data?
Code:POST /garnet/server/test.php HTTP/1.0
Accept: */*
s=something
I think you need a Content-length so the web server knows how much data to expect (see the RFC):
Code:>> POST /debug/test.asp HTTP/1.0
>> Accept: */*
>> Content-length: 32
>>
>> s=something&y=somethingelse
HTTP/1.1 200 OK
Date: Wed, 26 Jun 2002 16:45:18 GMT
Connection: Keep-Alive
Content-Length: 2951
Content-Type: text/html
Set-Cookie: ASPSESSIONIDQGQQQSBC=JEFHAEEAKJIPEHDFKEDAJCAK; path=/
Cache-control: private
Server: HTTP Server
Coolness