curl-and-python

PycURL form posting

From: Jo Pettitt <jo.pettitt_at_gmail.com>
Date: Fri, 16 May 2008 15:00:15 +0100

I have been writing a script to automate the creation of page on my Drupal
site. When it comes to posting text into the various fields I am having
problems getting text with spaces to be posted on the form. If I change all
spaces to %20 then echo the string out prior ro posting all of the character
codes are removed and the text will appear with no spaces in it at all.

Is there a simple way of keeping hte spaces within my cURL post?

Thanks.

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2008-05-16