HTTP PUT for file uploads

Michael nginx at thismetalsky.org
Sat Aug 2 17:50:21 MSD 2008


On Sat, Aug 02, 2008 at 13:15:27, Mike Mike said...

> <form method="put" action="work.php">
>  File: <input type="file" />
>  <input type="submit" value="Submit" />
> </form>
 
I've had that work with POST, though I know that's not what you're aiming for.

> Shouldn't that work? It keeps issuing a GET:
 
Just tried it myself, it does send GET rather than PUT.  Weird.

> dav_methods  PUT;
> create_full_put_path on;
> dav_access all:r;

Do you mean to have 'rw' there?

-- 
Michael Stella  |  IT Systems Architect
PGP: 1024D/BC3FF6D4 2BC2 A79B 88D1 218A B32B  ED7A 2EC2 1206 BC3F F6D4
"Somewhere, something incredible is waiting to be known."
 - Carl Sagan





More information about the nginx mailing list