-
Notifications
You must be signed in to change notification settings - Fork 61
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
->decoded_content should decode application/json, etc [rt.cpan.org #82963] #72
Comments
As described in a lengthy comment on Always charset decode, regardless of content type, As recommended in RFC 6657 – MIME Charset Default Update §3b New Rules for Default "charset" Parameter Values for "text/*" Media Types,
And thus Saying «It's a pretty intelligent interface» is a great compliment, but I prefer an interface to do less guess work and do less automagically things under the hood. Especially regarding encoding/decoding layers. We all know it goes wrong too many times. Sure, I'd like to have an intelligent interface, but not on the cost to make 'semi-core' Perl modules going to do the wrong thing. Maybe a Conclusion$mess->decoded_contnent is doing the right thing this issue SHOULD be closed |
Looks like https://metacpan.org/release/LWP-JSON-Tiny might meet your criteria (haven't tried it myself though), for anyone else coming across this. |
or a naughty over-ride HTTP::Message::JSON |
Yes, that's from the same package :) |
as described in #99, unless we add extra parameters or an entire new method, this can not be solved without breaking any existing API based on JSON |
Closing this as we're working towards a solution in #99 |
Migrated from rt.cpan.org#82963 (status was 'open')
Requestors:
From [email protected] on 2013-01-25 22:13:06:
From [email protected] on 2013-07-21 18:05:19:
From [email protected] on 2013-08-13 09:27:23:
From [email protected] on 2014-08-27 03:12:50:
The text was updated successfully, but these errors were encountered: