Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 drinking their drinks and smoking their pipes about the Monastery: (15)
As of 2015-07-06 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls