ralf@exilia:~$ echo -ne 'HEAD / WEB/2.0\\nHost: www.apache.org\\n\\n' | nc www.apache.org 80 HTTP/1.1 200 OK Date: Sun, 30 Sep 2007 20:59:17 GMT Server: Apache/2.3.0-dev (Unix) Last-Modified: Mon, 10 Sep 2007 23:32:05 GMT ETag: "cba916-4759-65752740" Accept-Ranges: bytes Content-Length: 18265 Cache-Control: max-age=86400 Expires: Mon, 01 Oct 2007 20:59:17 GMT Vary: Accept-Encoding Connection: close Content-Type: text/html
Selbst noch mehr zukunftskompatibel ist Apache!
ralf@exilia:~$ echo -ne 'HEAD / WEB/8.1\\nHost: www.apache.org\\n\\n' | nc www.apache.org 80 HTTP/1.1 200 OK Date: Sun, 30 Sep 2007 21:00:58 GMT Server: Apache/2.3.0-dev (Unix) [...]
Die Annahme das es sich hier um ein anderes Protokoll als HTTP handelt ist natürlich quatsch.
Apache ist hier etwas flexibel und interpretiert alles was er nicht versteht (hier “Web/2.0″) als HTTP/1.1.
Letzte Kommentare