mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Make sure an incorrect port returns a 400 error
This commit is contained in:
parent
cc65a723d7
commit
7ff2a62585
2 changed files with 4 additions and 1 deletions
|
@ -366,6 +366,7 @@ The document has moved
|
|||
{400, "\r\n\r\n\r\n\r\n\r\n\r\n"},
|
||||
{400, "GET / HTTP/1.1\r\nHost: ninenines.eu\r\n\r\n"},
|
||||
{400, "GET http://proxy/ HTTP/1.1\r\n\r\n"},
|
||||
{400, "GET / HTTP/1.1\r\nHost: localhost:bad_port\r\n\r\n"},
|
||||
{505, ResponsePacket},
|
||||
{408, "GET / HTTP/1.1\r\n"},
|
||||
{408, "GET / HTTP/1.1\r\nHost: localhost"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue