Modifying OPTIONS header response
| From: | Oscar F | Date: | Tue, 07 Oct 2003 13:12:06 +0000 |
| Subject: | Modifying OPTIONS header response | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-165297@lists.php.net to get a copy of this message | ||
Hello all,
I'm working on a php/dav server and I'm having a problem. When the
client sends an OPTIONS request to see what methods are allowed, they
only get "Allow: GET, HEAD, POST, OPTIONS, TRACE" back from apache. This
seems to me a problem since it does not include PROPFIND, COPY, MOVE,
LOCK, etc. and some clients don't even try to lock the file and open it
read only, I guess because they don't see LOCK, etc. as allowed.
My question is, how can I modify the OPTIONS response or at least the
Allowed methods?. I can capture/handle HEADs, GETs and everything fine
but OPTIONS does not seem to work. Any hints?.
Apache/2.0.43
PHP 4.3.0
Thanks.
- O.