Fix for #1. This PR adds @watson's test to the suite, implements a options array for the httpRequestToUrl function, and adds new behavior to return request.path when the request looks like a proxied request. Per suggestions from the issue thread, this options array has a single option, followProxies, which defaults to true.
Fix for #1. This PR adds @watson's test to the suite, implements a options array for the
httpRequestToUrl
function, and adds new behavior to returnrequest.path
when the request looks like a proxied request. Per suggestions from the issue thread, this options array has a single option,followProxies
, which defaults to true.Additional comments inline.