W3C home > Mailing lists > Public > www-talk@w3.org > September to October 1997

HTTP POST and Cookies

From: Laurent Douillet <ldouille@jujul35.grenoble.hp.com>
Date: Tue, 02 Sep 1997 20:08:30 +0200
Message-Id: <340C561E.5CF7@www-side.grenoble.hp.com>
To: www-talk <www-talk@w3.org>, http-wg <http-wg@cuckoo.hpl.hp.com>
Hello All,

I've a problem with a HTTP POST command. I'd like to add the Cookie
field, Does anyone knows the exact syntax for it.

my previous command was:

POST /test.pl HTTP/1.0\r\nContent-Length:$POST_LGTH\r\nUser-Agent:
$AGT\r\nAccept: text/html\r\nContent-Type: application
/x-www-form-urlencoded\n\n$POST_ARGS\r

the new one:

POST /test.pl
HTTP/1.0\nCookie:$COOKIE\r\nContent-Length:$POST_LGTH\r\nUser-Agent:
$AGT\r\nAccept: text/html\r\nContent-Type: application
/x-www-form-urlencoded\n\n$POST_ARGS\r
 is not working.

Thanks
-- 
 _____________________________________________________________________
| Laurent DOUILLET          | "It is better to remain silent and be   |
| Cap Gemini - HP Grenoble  |  thought a fool,than to open your mouth |
|                           |  and remove all doubt." (Lisa Simpson)  |
| email:ldouille@www-side.grenoble.hp.com                              | 
 _____________________________________________________________________
Received on Tuesday, 2 September 1997 14:14:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:23 GMT