[medusa] Data-part of a POST request is missing!!

Itay Zandbank zmbq@a...
Tue, 31 Oct 2000 14:12:12 +0200


When your handler is passed the request object, it still has to read the
post data from the request channel. Check out the proxy demo (it was in
work_in_progress last I checked), or the CGI demo to see how it's done.

> I've written my own default_handler and want to use the POST command
> to send data to the HTTP-server ( username, passwd etc. therefore the
> POST command, not GET).
>
> My Python client ( a script that sends the POST command and header
> parts manually to the HTTP-server) sends the data ok. It's available
> in the request-object in my default_handler. But using a form in
> Netscape ( with ENCTYPE=multipart/form-data, method=POST ) shows no
> form data in the request-object. Why ??
>
> I need to use both clients, my Python client and a ordinary browser,
> and I need to use the POST-command.
>
> Any clues, hints or tips?