Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loki (11:04) 841/0 $ telnet localhost 8080
- Trying 127.0.0.1...
- Connected to localhost.
- Escape character is '^]'.
- GET / HTTP/1.0
- Host: foo:1234567
- HTTP/1.0 404 Not Found on Accelerator
- Date: Fri, 28 Aug 2015 17:04:38 GMT
- Server: ATS/6.1.0
- Cache-Control: no-store
- Content-Type: text/html
- Content-Language: en
- Content-Length: 297
- <HTML>
- <HEAD>
- <TITLE>Not Found on Accelerator</TITLE>
- </HEAD>
- <BODY BGCOLOR="white" FGCOLOR="black">
- <H1>Not Found on Accelerator</H1>
- <HR>
- <FONT FACE="Helvetica,Arial"><B>
- Description: Your request on the specified host was not found.
- Check the location and try again.
- </B></FONT>
- <HR>
- </BODY>
- Connection closed by foreign host.
- loki (11:04) 842/0 $ curl -v -D - -s -o /dev/null -H 'Host: foo:1234567' http://127.0.0.1:8080/ | head -1
- * Trying 127.0.0.1...
- * Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
- > GET / HTTP/1.1
- > User-Agent: curl/7.40.0
- > Accept: */*
- > Host: foo:1234567
- >
- < HTTP/1.1 400 Invalid HTTP Request
- < Date: Fri, 28 Aug 2015 17:04:48 GMT
- < Connection: keep-alive
- < Server: ATS/6.1.0
- < Cache-Control: no-store
- < Content-Type: text/html
- < Content-Language: en
- < Content-Length: 220
- <
- { [220 bytes data]
- * Connection #0 to host 127.0.0.1 left intact
- HTTP/1.1 400 Invalid HTTP Request
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement