A couple of suggestions to improve the liklihood your post will work: If using HTTP/1.1 you MUST put a Host: line in the header: Host: www.myserver.com Be sure to put this in, or use HTTP/1.0 Content-Type: text/html is wrong. Netscape and IIS are quite likely to slam the door on you if don't specify the correct content type (though Apache is very polite and tolerant and works with you as always even if you leave this out): Content-Type: x/www-form-urlencoded Finally, you need an empty line following the last header. The RFC's for both HTTP/1.0 and HTTP/1.1 say it should contain a network EOL (\r\n\r\n), but just plain \n\n works fine on every server I've ever seen. John [EMAIL PROTECTED] www.darkspell.com 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. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
