Hellow
I have built an openssl client.
It is working pretty nice on netscape HTTP 1.1
server, but when I try to connect with an
Apache HTTP 1.0 server, I get the follow error: Server: Apache/1.3.27 (Unix) mod_jk/1.2.1
mod_ssl/2.8.12 OpenSSL/0.9.6h
Connection: close
Content-Type: text/html;
charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN">
<HTML><HEAD> <TITLE>400 Bad Request</TITLE> </HEAD><BODY> <H1>Bad Request</H1> Your browser sent a request that this server could not understand.<P> Client sent malformed Host header<P> <HR> <ADDRESS>Apache/1.3.27 Server at palena.sii.cl Port 443</ADDRESS> </BODY></HTML> Is it necessary doing some change on my code? Thanks.
Alex.
|