Re: [PHP-DEV] PUT method in PHP when??? From: Jim Winstead (jimw <email protected>)
Date: 02/21/99

On Feb 21, Miguel Oliveira wrote:
> When PUT method will be supported by PHP?

It is now, if you apply Manual Lemos's patch. It will be supported
out-of-the-box when someone with CVS access decides to commit it.

> Lots of web publishers use PUT method (like composer) to upload files to an
> webserver. If PUT method was supported i could get all headers from PUT like
> content-type, that make easy for me to know what files someone is uploading
> to my webserver. Without this i have to guess what content type is the file
> by looking through extension (if has it).

This could easily be handled by logging the correct information from
Apache, as well.

> Didn't Manuel Lemos something to support this method in patch to add to PHP
> in October? Why this patch never was added?

Because nobody with CVS access apparently feels strongly about it to
test it and apply it. It also happens to muck about in a piece of
code that scares many small children, and addresses something that
isn't an issue to a great many people.

> Isn't PHP open source?...

It is. That's why you can take Manuel Lemos's patch and apply it to
your own copy of PHP and use it if you trust it. Ever tried applying
a third-party source patch to Microsoft's ASP?

Jim

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>