Open kriogenia opened 1 month ago
ill do it
Awesome! Thank you, @toastx . You can pick whatever type you prefer.
are we sure we have the correct working file uploaded? . .
are we sure we have the correct working file uploaded? . .
I guess that you were running cargo build
from the root? That won't work as cargo fails to resolve the features correctly. That's an issue I would like to dig into but I didn't have the time yet. If you want to compile the binary, run cargo build -p rede
instead. Specifying the package it works.
I will also taks myself with updating the README with this information. Sorry about that.
Currently,
rede
only supports the four basic body types and some extra types as convenience.The plan is to expand this as much as possible to support at least the most used MIME types. These are pretty simple contributions that any new contributor can tackle with ease, see #62 as an example.
If there's any type that you are missing or you want to make a contribution, comment what you are planning to implement and just open a PR.
application/json
json
application/xml
xml
text/html
html
application/gzip
gz
,gzip
application/zip
zip
image/gif
gif
image/jpeg
jpeg
image/png
png
video/mp4
mp4
application/pdf
pdf