Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^5: MediaWiki::API->upload() problem

by Anonymous Monk
on Sep 27, 2011 at 20:51 UTC ( #928183=note: print w/ replies, xml ) Need Help??


in reply to Re^4: MediaWiki::API->upload() problem
in thread MediaWiki::API->upload() problem

I have no idea what you're getting at

When you get HTTP::Message content must be bytes it means you must only give it bytes not text, in other words, don't use decoded_content

If you're saying that using ->content you still get this error(content must be bytes), that means $response isn't the culptrit, then you need to identify which parameter is triggering it by process of elimination, and make some bytes (encode)

perlunitut: Unicode in Perl#encoding


Comment on Re^5: MediaWiki::API->upload() problem
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928183]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-12-25 14:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (160 votes), past polls