I'm using https://github.com/inaka/shotgun to talk to the Hijack HTTP server. When I do the following:

Code:
{ok, C} = shotgun:open("10.0.0.21", 80).
shotgun:get(C, "/").


...Hijack returns "405 Method Not Allowed". The request looks like this, according to wireshark:

Code:
GET / HTTP/1.1
content-length: 0
host: 10.0.0.21


Moreover, the Hijack response is contradictory, in that it looks like this:

Code:
HTTP/1.1 405 Method Not Allowed
Connection: close
Allow: GET, HEAD
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head><title>405 Method Not Allowed</title></head><body><h1>405 Method Not Allowed</h1>Server only supports GET<p></body></html>


The "Allow: GET, HEAD" contradicts the "Server only supports GET" message.
_________________________
-- roger