Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing the headers of a request, without starting a connection #153

Open
AlexBroadbent opened this issue Feb 1, 2019 · 0 comments
Open

Comments

@AlexBroadbent
Copy link

Is there a way to get a map of all the headers in a request without starting the connection?

Currently, calling headers() will begin the connection and so manipulating them in any way after that call will cause an error.

This is causing a real headache, as the only available methods are aimed at specific headers - I want to see all of the headers that will be sent. This is being done through a filter, so I do not have control over how the request is initialised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant