Subject: | sub api should return the original HTTP::Response object on success |
It would be extremely helpful if, on success, you could have sub api
return not only the decoded json but a second parameter containing the
HTTP::Response object, allowing for awesome stuff like cookie extraction
to be done. Perlwikipedia uses a WWW::Mech object and I'd like to have
both objects log in under one request, however I can't give the cookies
to the WWW::Mech object unless I have MediaWiki::API's HTTP::Response
object.
Not time-critical, since I've got an ugly but working hack up for now.
Thanks!!