http-rs / http-types

Common types for HTTP operations
https://docs.rs/http-types
Apache License 2.0
200 stars 83 forks source link

Add font and additional image mime types #384

Closed sorcix closed 2 years ago

sorcix commented 2 years ago

Adds mimetypes for:

sorcix commented 2 years ago

As I had to fix the TXT/PLAIN issue and found out I also needed support for wasm files, I've added a few more mime types in a separate commit.

Not sure about the SEVENZIP constant. It doesn't work with 7ZIP because of the number, any suggestions? :-)

yoshuawuyts commented 2 years ago

@sorcix it seems we're missing another cargo fmt pass on this; CI is failing

Not sure about the SEVENZIP constant. It doesn't work with 7ZIP because of the number, any suggestions? :-)

hah, that seems fine imo (:

yoshuawuyts commented 2 years ago

@sorcix we just merged https://github.com/http-rs/http-types/pull/385 which fixes the last of our CI issues on the main branch. Can you try rebasing against main so we can run CI again? Once CI passes I think we should be good to merge!

sorcix commented 2 years ago

Rebased. Also tried running cargo fmt --all in my branch, but it doesn't change anything.

sorcix commented 2 years ago

The check wasm target test failed. I don't think that's related to my change, though.

Fishrock123 commented 2 years ago

I don't know why rustup failed in that CI in november but it doesn't anymore