source: mod_gnutls/test/tests/33_vhost_SNI_serveralias_missinghost/output @ 9a834cc

asynciodebian/mastermainproxy-ticket
Last change on this file since 9a834cc was dcc053e, checked in by Krista Karppinen <krista.celestia@…>, 4 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
Line 
1HTTP/1.1 421 Misdirected Request
2Content-Length: 322
3Connection: close
4Content-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
12request as the requested host name does not match
13the Server Name Indication (SNI) in use for this
14connection.</p>
15</body></html>
16- Peer has closed the GnuTLS connection
Note: See TracBrowser for help on using the repository browser.