Don't put the \r\n on the last line.

Andy

Peter Sylvester wrote:

> >
> > Karl,
> >
> > I written following code for HTTP POST with SSL, but it is not working can
> > you tell me why?
> > I am not getting any response from web server.
> >
> > POST /cgi-bin/cs_intf/validate.exe HTTP/1.1
> > Content-type: text/html
> > Content-length: 31
> > agentname=tiw&pin=9443243
> >
> > where validate.exe is cgi script.
> >
> > Thanks.
> > Brajesh
> >
> You might want to try this: (each line ended by \r\n) note the empty line
>
> POST /cgi-bin/cs_intf/validate.exe HTTP/1.0
> Content-type: text/html
> Content-length: 25
>
> agentname=tiw&pin=9443243
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
begin:vcard 
n:Griffin;Andrew
tel;home:0018 9722935
tel;work:0118 9245580
x-mozilla-html:FALSE
org:<IMG SRC=http://www.freenetpages.co.uk/hp/griffina/Sawicon.gif>
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
note:IMAP://ims1.uk.oracle.com?fetch>UID>/Personal>183&part=1.2
x-mozilla-cpt:;-6704
fn:Andrew Griffin
end:vcard

Reply via email to