Ticket #631 (closed defect: fixed)
Support HTTP/1.0 requests
| Reported by: | gsnedders | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.6 |
| Component: | -none- | Version: | SVN |
| Keywords: | Cc: |
Description
HTTP/1.0 has no Host header, which we currently rely upon.
$ telnet gsnedders.com 80 Trying 64.13.239.21... Connected to gsnedders.com. Escape character is '^]'. GET / HTTP/1.0 HTTP/1.1 200 OK Date: Thu, 04 Sep 2008 20:14:55 GMT Server: Apache/2.0.54 X-Powered-By: PHP/5.2.6 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache X-action: display_home Set-Cookie: PHPSESSID=68de670fd0d544f09c016f3ca2d29523; path=/ Vary: Accept-Encoding Connection: close Content-Type: text/html;charset=utf-8 <!DOCTYPE html> <html lang="en-gb-x-sneddy"> <title>gsnedders</title> <link rel="stylesheet" type="text/css" href="<pre class="error"> <b>Notice:</b> Undefined index: HTTP_HOST in system/classes/site.php line 137 </pre>Connection closed by foreign host.
This has been causing a whole manner of such errors for various people for a while.
Change History
Note: See
TracTickets for help on using
tickets.
