Empty body in PUT #365

Closed
opened 2026-01-19 18:30:02 +00:00 by michael · 0 comments
Owner

Originally created by @cuongnv23 on GitHub.

I realized that transfer.sh allows to PUT with an empty body:

$ curl -X PUT transfer.sh/foo
https://transfer.sh/eJyeo/foo

Is it expected behavior?
PUT method with empty body is ok [1] but file sharing without data doesn't make sense ( at least for me )

[1] https://tools.ietf.org/html/rfc2616#section-9.6

Originally created by @cuongnv23 on GitHub. I realized that transfer.sh allows to PUT with an empty body: ``` $ curl -X PUT transfer.sh/foo https://transfer.sh/eJyeo/foo ``` Is it expected behavior? PUT method with empty body is ok [1] but file sharing without data doesn't make sense ( at least for me ) [1] https://tools.ietf.org/html/rfc2616#section-9.6
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dutchcoders/transfer.sh#365