detecting GET or POST in a script?
Piet van Oostrum
piet at cs.uu.nl
Thu Aug 24 15:42:08 EDT 2000
>>>>> Michael Hudson <mwh21 at cam.ac.uk> (MH) writes:
MH> piet at cs.uu.nl writes:
>> >>>>> "Z 3 Penguin" <z3penguin at penguinpowered.com> (Z3P) writes:
>>
Z3P> n/m, i figured it out.
Z3P> import os
>>
Z3P> print os.environ+AFsAIg-REQUEST+AF8-METHOD+ACIAXQ-
>>
Z3P> Z 3 Penguin wrote in message +ADw-8ni1h3+ACQ-g45+ACQ-1+AEA-bob.news.rcn.net+AD4-...
Z3P> +AD4-Is there any way to tell if the script was GETed or POSTed?
Z3P> +AD4-
>>
>> What's this +AFsAIg- +AF8- +ACIAXQ- +AD4- etc stuff?
MH> Content-Type: text/plain; charset="utf-7"
MH> Content-Transfer-Encoding: 7bit
MH> By the looks of things. gnus doesn't like it <fx:looks at headers>
MH> ... as you obviously noticed.
No, I didn't. I have these headers not displayed. Thanks for showing me. I
guess I'll have to ask the powers that be when it will be supported.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl
More information about the Python-list
mailing list