On Tue, 26 Mar 2002, Thorben Thuermer wrote:

> POST? i only see this in request.c:
>         if (r->method == M_POST)
>                 return 405;
> 
> -> always returns 405 method not allowed

This piece of code is in the process_fd() function, where it doesn't make
any sense for a POST request to be allowed. Mathopd certainly handles POST
requests; I have verified this myself. A POST request will usually be
handled by a CLASS_SPECIAL or CLASS_EXTERNAL handler, such as
process_cgi() in cgi.c.

What I was looking for was the location of the POST parameters in the
struct request data structure, but if you say they are in the envp, then I
will look there. Thanks!

<< T o b i a s   D i P a s q u a l e >>
[EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED]


Reply via email to