Comparing version 1.1.3 to 1.1.4
@@ -11,3 +11,3 @@ { | ||
, "dependencies": {} | ||
, "version": "1.1.3" | ||
, "version": "1.1.4" | ||
, "repository": { | ||
@@ -14,0 +14,0 @@ "type": "git" |
@@ -273,2 +273,8 @@ /*! | ||
} | ||
// Some clients insist on transforming values, but cannot run transformation | ||
// on a separate service. This enables a workaround #hack. | ||
if (options.requestURIs) { | ||
this._requestURIs = options.requestURIs; | ||
} | ||
} | ||
@@ -289,2 +295,4 @@ Server.prototype = new function () { | ||
function handle(request, response, next) { | ||
var requestURIs = this._requestURIs || requestURIs; // Hack, see above. | ||
var url = require('url').parse(request.url, true); | ||
@@ -291,0 +299,0 @@ var path = normalizePath(url.pathname); |
347135
10332