From daf53bd753879223dc84a49c92d0efaf576c1fd3 Mon Sep 17 00:00:00 2001 From: Nick Muerdter Date: Thu, 18 Apr 2013 18:11:58 -0600 Subject: [PATCH] Don't test raw HTTP 1.0 requests over HTTPS. --- test/macros/http.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/macros/http.js b/test/macros/http.js index 89e15f2..d3d8342 100644 --- a/test/macros/http.js +++ b/test/macros/http.js @@ -156,6 +156,12 @@ exports.assertProxied = function (options) { // http proxy. // exports.assertRawHttpProxied = function (options) { + // Don't test raw requests over HTTPS since options.rawRequest won't be + // encrypted. + if(helpers.protocols.proxy == 'https') { + return true; + } + options = options || {}; var ports = options.ports || helpers.nextPortPair,