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.
Is there no way to add this feature? I was trying to use this as a
webserver to upload files from network devices. They use put for this.
…On Tue, Feb 28, 2023 at 7:18 PM Densaugeo ***@***.***> wrote:
Closed #31 <#31> as
completed.
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQHL2Y67RMKFCXLPCT72UTWZ2IV7ANCNFSM6AAAAAAVK2QEFA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
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.
Well for one it's Arista and Juniper. They are just using their build in:
copy https:// command.
Which is coded to use put.
…On Tue, Mar 7, 2023 at 8:43 PM Densaugeo ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#31 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQHL22CK5LO3K53ZXBOYNLW27P5JANCNFSM6AAAAAAVK2QEFA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
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.