[10957] in www-talk@info.cern.ch
HTTP POST and Cookies
daemon@ATHENA.MIT.EDU (Laurent Douillet)
Tue Sep 2 14:26:25 1997
Date: Tue, 02 Sep 1997 20:08:30 +0200
From: Laurent Douillet <ldouille@jujul35.grenoble.hp.com>
To: www-talk <www-talk@w3.org>, http-wg <http-wg@cuckoo.hpl.hp.com>
Resent-From: www-talk@w3.org
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 |
_____________________________________________________________________