detecting GET or POST in a script?

Michael Hudson mwh21 at cam.ac.uk
Thu Aug 24 09:59:12 EDT 2000


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?

Content-Type: text/plain;  charset="utf-7"
Content-Transfer-Encoding: 7bit

By the looks of things.  gnus doesn't like it <fx:looks at headers>
... as you obviously noticed.

Cheers,
M.

-- 
  If a train station is a place where a train stops, what's a
  workstation?                            -- unknown (to me, at least)



More information about the Python-list mailing list