node-mitm-proxy
node-mitm-proxy copied to clipboard
Read headers before url rewrite
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!
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.