diff options
Diffstat (limited to 'test/files/12-connect-request.t')
-rw-r--r-- | test/files/12-connect-request.t | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/12-connect-request.t b/test/files/12-connect-request.t new file mode 100644 index 0000000..89faf8e --- /dev/null +++ b/test/files/12-connect-request.t @@ -0,0 +1,21 @@ +>>>
+CONNECT www.ssllabs.com:443 HTTP/1.0
+
+
+<<<
+HTTP/1.1 405 Method Not Allowed
+Date: Sat, 12 Dec 2009 05:08:45 GMT
+Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8g PHP/5.3.0
+Allow: GET,HEAD,POST,OPTIONS,TRACE
+Vary: Accept-Encoding
+Content-Length: 230
+Connection: close
+Content-Type: text/html; charset=iso-8859-1
+
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
+<html><head>
+<title>405 Method Not Allowed</title>
+</head><body>
+<h1>Method Not Allowed</h1>
+<p>The requested method CONNECT is not allowed for the URL /.</p>
+</body></html>
\ No newline at end of file |