Configure ability to configure format derivation
Reported by wesmaldonado | August 5th, 2008 @ 02:01 PM
I was wanting to be able to get at the raw request after a get/post from /resource.xml but found I couldn't. I forked on git hub and added some tests for a @derive_format attribute. Also included was a guard clause for an empty response.body i.e. calling Hash.from_xml("") Not the prettiest fixes, but they did what I needed at the time. :) Thanks for the library, I like it.
Comments and changes to this ticket
-
John Nunemaker August 22nd, 2008 @ 10:05 PM
- → Assigned user changed from to John Nunemaker
Derive format didn't instantly make sense to me but I see what you've done and think that is reasonable. I'll probably tweak how I handle it but I like the idea. Thanks!
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Tickets for the HTTParty ruby gem.
