Added
- Add delete endpoint (#136)
Now you can delete files from the server with sending a DELETE
request. To enable this, set the delete_tokens
array in the configuration file or use the DELETE_TOKEN
environment variable.
[server]
delete_tokens = [ "may_the_force_be_with_you" ]
And then you can send a DELETE
request as follows:
$ curl -H "Authorization: may_the_force_be_with_you" -X DELETE "<server_address>/file.txt"
file deleted
You can also use rpaste
(the command line tool) to delete files:
$ rpaste -d awesome.UA86.txt
Changed
- Update crates and rustls deps (#135)
- Bump Shuttle to
0.25.0