xml input and post method in python

Jachym Cepicky <[email protected]>
Newsgroups gmane.comp.gis.freegis
Message-ID <[email protected]>
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: [email protected]
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: [email protected]
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507

_______________________________________________
Freegis-list mailing list
[email protected]
https://intevation.de/mailman/listinfo/freegis-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEa1HWyKt0uAjU4I8RAmCLAJ9ufJu7PGU790/ZhUjhMhv60mHBywCgzR15
8aAsfEJBERydffRcFGy+2rI=
=ipd5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.