Re: Possibly wrong response of mathopd
Michiel Boland <[email protected]> Tue, 21 Sep 2004 10:41:03 +0200
| Newsgroups | gmane.network.mathopd |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Sep 18, 2004 at 02:39:39PM +0200, Juergen Daubert wrote: > Hi, > > not sure, but shouldn't respond mathopd to the following query > with a "HTTP/1.1 200 OK" ? > > $:~> echo -e "HEAD / HTTP/1.0\r\n\r\n" | socat - TCP:localhost:80 > HTTP/1.1 400 Bad Request > Server: Mathopd/1.5p3 > Date: Sat, 18 Sep 2004 12:27:01 GMT > > Chaning the query to "HEAD / HTTP/1.0\r\nHost: *\r\n\r\n" will > work, but as far as I know this is not necessary for HTTP/1.0. FYI - this turned out to be caused by a missing 'NoHost' keyword in the config file. Cheers Michiel