At 03:57 PM 10/26/2001 +0100, you wrote:
>Yer cheers, already got that far form your examples in the tcpclient2
>archive (in about 30 secs)
>
>Those RFC's are a real pain however. All I want to do is a HTTP form POST of
>s single prenamed form field.


It'd look something like this.... (snipped directly from some c++ code of 
my that grabs RAW posts from browsers /-). Basically we're talking the 
bloody annoying MIME format here for encoding variable fields:


POST /myform.cfm HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-powerpoint, application/vnd.ms-excel, 
application/msword, application/x-gsarcade-launch, 
application/x-rocketpipe, */*
Referer: http://127.0.0.1/myform.cfm
Accept-Language: en-us
Content-Type: multipart/form-data; 
boundary=---------------------------7d1bc210087c
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Host: 127.0.0.1:90
Content-Length: 243
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: CFID=1; CFTOKEN=32125070;

-----------------------------7d1bc210087c
Content-Disposition: form-data; name="myName"

lsellers
-----------------------------7d1bc210087c
Content-Disposition: form-data; name="submit"

go
-----------------------------7d1bc210087c--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to