Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: HTTP Data Being Changed

by repellent (Priest)
on Apr 10, 2012 at 22:24 UTC ( #964417=note: print w/ replies, xml ) Need Help??


in reply to HTTP Data Being Changed

application/x-www-form-urlencoded type specifies + for spaces. You need to escape them:

use URI::Escape;

$r->content(uri_escape($content));


Comment on Re: HTTP Data Being Changed
Select or Download Code
Re^2: HTTP Data Being Changed
by dlwester (Initiate) on Apr 11, 2012 at 13:39 UTC
    Thanks, that did the trick!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2014-09-02 17:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (25 votes), past polls