asynciodebian/masterproxy-ticket
Last change
on this file since 9a834cc was
dcc053e,
checked in by Krista Karppinen <krista.celestia@…>, 3 years ago
|
Add test for missing Host header, SNI matching server alias
Test that a request to a virtual host with a server alias fails if
there is no Host header in the encapsulated HTTP request
|
-
Property mode set to
100644
|
File size:
483 bytes
|
Rev | Line | |
---|
[dcc053e] | 1 | HTTP/1.1 421 Misdirected Request |
---|
| 2 | Content-Length: 322 |
---|
| 3 | Connection: close |
---|
| 4 | Content-Type: text/html; charset=iso-8859-1 |
---|
| 5 | |
---|
| 6 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> |
---|
| 7 | <html><head> |
---|
| 8 | <title>421 Misdirected Request</title> |
---|
| 9 | </head><body> |
---|
| 10 | <h1>Misdirected Request</h1> |
---|
| 11 | <p>The client needs a new connection for this |
---|
| 12 | request as the requested host name does not match |
---|
| 13 | the Server Name Indication (SNI) in use for this |
---|
| 14 | connection.</p> |
---|
| 15 | </body></html> |
---|
| 16 | - Peer has closed the GnuTLS connection |
---|
Note: See
TracBrowser
for help on using the repository browser.