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

Dump HTTP #15

Open
xenoterracide opened this issue Feb 22, 2014 · 4 comments
Open

Dump HTTP #15

xenoterracide opened this issue Feb 22, 2014 · 4 comments

Comments

@xenoterracide
Copy link

is it possible to dump out the text of the HTTP Request/response? if so could it be documented? if not could that happen, and then be documented? this would be very useful for debugging

@blabno
Copy link
Member

blabno commented May 19, 2014

Which part of http request you want to dump, body, headers, cookies?

@xenoterracide
Copy link
Author

request as sent, so everything, with possibly some placeholder if the body is binary. currently I've been using wireshark to get the data because I've been unable to find a simple way to see this. Outside of perhaps a pretty binary placeholder, everything should be exactly as it gets transmitted.

@blabno
Copy link
Member

blabno commented May 19, 2014

how about adding possibility to somehow register user's interceptor on injected resources?
This might be tricky since we're using different 3rd party libraries for each implementation.

@xenoterracide
Copy link
Author

Maybe, honestly I found I couldn't get the behavior I wanted from an interceptor, at least not simply. Potentially this is just behavior that should be provide d by the http client. I'm frustrated with the difficulty, in a java env, of getting this very useful info

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

2 participants