[Tutor] Mod-python

Dustin Mitchell dustin at ywlcs.org
Mon Jun 12 21:58:30 CEST 2006


Well, POST or PUT are the normal ways to do that.  You need to interact 
with the person running the web server to see how they need it 
delivered - if they're expecting a GET and you give them a POST, it 
isn't going to work very well :)

Dustin

On Jun 12, 2006, at 2:48 PM, patricia wrote:

> Hi!
>
> I have about 17 lines of text (about system information) that I need 
> to pass to
> a remote web server AND I've been asked to send this data via Apache. 
> I have to
> write a python script that will fetch a URL to pass this text. I 
> understand that
> if I want to use the POST method, I would need to have a page with a 
> submit
> button, and this is not the case. I also know that with GET, the 
> length of the
> url is limited. What is the best way to send a long string?
>
> Hope anyone can point me to the right direction..
> Thanks,
> Patricia
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list