Densaugeo / uploadserver

Python's http.server extended to include a file upload page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unsupported Method: PUT

theotherguy2175 opened this issue · comments

Is put allowed as an http method for this?

Operation not supported: 501 Unsupported method ('PUT') (PUT)

PUT is not supported. Uploads are sent using POST, as shown in the examples in the readme.

It would not be too hard to add, though I prefer to avoid adding new API surface unless necessary.

What sort of devices are these that cannot use POST? It seems a little unusual to be able to send PUT but not POST.

I see. It looks like adding PUT won't be hard, so I can do that. Will probably get to it this weekend or the one after.