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

Use decoded_content in response logging, because gzip is unreadable for mere humans #3

Closed
wants to merge 1 commit into from

Conversation

rhesa
Copy link

@rhesa rhesa commented Nov 21, 2012

Hi Ivan,

I ran into trouble trying to access a soap service, and couldn't really figure out how to debug at first. The response logging looked like gibberish. So I looked at how you do the debugging through WWW::Mechanize, and that module's response_done handler doesn't automatically decode gzip'ed data. I had similar difficulty passing in a log object. So I tried patching the W3C::SOAP::Client module, changed "content" to "decoded_content" in a couple of places, and there was the actual response body, logged through my own logging object! That will make debugging a lot easier in the future.

Thanks for a great set of modules!
Rhesa

@ivanwills
Copy link
Owner

I have applied the change, sorry it took so long to get done.

@ivanwills ivanwills closed this Aug 22, 2013
ivanwills added a commit that referenced this pull request Aug 22, 2013
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

Successfully merging this pull request may close these issues.

None yet

2 participants