httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "taiska" <>
Subject [users@httpd] apache 1.3.33 respond to HTTP/1.1 request in HTTP/1.0
Date Thu, 07 Sep 2006 08:30:04 GMT
I do request using wininet.dll functions : HTTPOpenRequest, HTTPSendRequest
I get respond in HTTP/1.0 protocol
Using Apache 1.3.33 (Debian GNU Linux) PHP/4.3.10-16


nReq = HTTPOpenRequest( httpSession, "POST", "/dir/page.php", "HTTP/1.1", NULL, NULL,

HTTPSendRequest(nReq, "Content-Type: multipart/form-data; boundary=------7cf2a327f01ae", 67,
cPostBuffer, cPostSize )

PHP command:

header("Status: 453 My text")

Send me respond, I get  with HTTPQueryInfo():

HTTP/1.0 200 OK
Date: Wed, 06 Sep 2006 12:28:55 GMT
Server: Apache/1.3.33(Debian GNU/Linux) PHP/4.3.10-16
X-Powered-By: PHP/4.3.10-16
Status: 453 My text
Content-Type: text/html
X-Cache: MISS from
X-Cache-Loop: None

But in other machine with:
Apache 1.3.33 Win32 and PHP /4.4.1
respond is:

HTTP/1.1 453 My text
Date: Wed, 06 Sep 2006 12:28:55 GMT
Server: Apache/1.3.33(Win32) PHP/4.4.1
X-Powered-By: PHP/4.4.1
X-Zend-WinEnabler: 1.2.0
Keep-Alive: timeout=15,max=2
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html

httpd.conf in both is:

<IfModule mod_setenvif.c>

    BrowserMatch "Mozilla/2" nokeepalive
    BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0

    BrowserMatch "RealPlayer 4\.0" force-response-1.0
    BrowserMatch "Java/1\.0" force-response-1.0
    BrowserMatch "JDK/1\.0" force-response-1.0


Thanks in advance.
View raw message