requests-html icon indicating copy to clipboard operation
requests-html copied to clipboard

Configured headers not passed through to rendering

Open mcon opened this issue 3 years ago • 0 comments

Some usecases of rendering with JS require headers from the initial request to be passed through to the rendering engine - inspecting the requests made by the headless chrome instance, it doesn't look like these get passed through.

In particular, calling setExtraHTTPHeaders on the pyppeteer.Page object which does the rendering looks like it should do the trick.

At the very least, I think this would be a useful optional feature.

mcon avatar Oct 30 '22 09:10 mcon