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

HttpRequest.toString() changes request state #136

Open
alex-bo opened this issue Jul 26, 2017 · 0 comments
Open

HttpRequest.toString() changes request state #136

alex-bo opened this issue Jul 26, 2017 · 0 comments

Comments

@alex-bo
Copy link

alex-bo commented Jul 26, 2017

Hi, Guys. Cool library, thank you for the efforts.
One thing to improve: toString() internally creates a connection. Which in turn makes impossible to set proxy settings. IntelliJ implicitly calls toString() in debug session. I spent an hour figuring out where connection got created until realized this.
toString() should not change object state.

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