node-mitm-proxy icon indicating copy to clipboard operation
node-mitm-proxy copied to clipboard

Read headers before url rewrite

Open ryanstout opened this issue 12 years ago • 1 comments

Is it possible to read the request headers before rewriting the url? (Specifically, I'm wanting to look at the referer header before rewriting the urls).

Thanks!

ryanstout avatar Nov 30 '12 03:11 ryanstout

I'd like to +1 this, making url_rewrite(request) into url_rewrite(request, req_url) so that it matches the signature for response seems like a nice improvement.

robjcaskey avatar Jan 21 '14 21:01 robjcaskey