[Freegis-list] xml input and post method in python

Jachym Cepicky jachym.cepicky at centrum.cz
Wed May 17 18:39:51 CEST 2006


Hallo,

some application should be able to get the input data as XML file over
HTTP POST method. I'm programing this in Python. 

When the input data are comming in (to me) knowen format 

    http://localhost?param1=value1&param2=value2

it is no problem to get this input parameters: form = cgi.FieldStorage()

But how to send "just a XML file" there (with help of e.g. wget's
--post-file)? And how to save them into some variable?

Thanks for help

Jachym
-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.intevation.de/pipermail/freegis-list/attachments/20060517/dfaa14ba/attachment.bin


More information about the Freegis-list mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)