I want to modify the request header
tiansin opened this issue · comments
I need to modify the request header in the prepareRequestFunction
callback. Can I do this?
Yes, if you modify the request headers (request.rawHeaders), they will be
passed to the target host. But please note that this will only work for
HTTP requests, not HTTPS which cannot be intercepted.
…On Fri 24 Aug 2018 at 04:54, tiansin ***@***.***> wrote:
I need to modify the request header in the prepareRequestFunction
callback. Can I do this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#24>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKHxBOV1GVprdAFp9EcOcfiqYuMmKCNjks5uT2r6gaJpZM4WKqgF>
.
Thank you very much.