maybe we can improve MIME guessing :Dhttps://github.com/abonander/mime_guess/issues/39 …
-
-
Replying to @yoshuawuyts
huh? this works: https://github.com/killercup/static-filez/blob/86b31c085248b0ef0bf30c6c8c56ec633dbc365f/src/server.rs#L38-L40 …
1 reply 0 retweets 2 likes -
Replying to @killercup
I missed the fact that `.to_string()` was possible; didn't show up in the docs. You're entirely right, haha
1 reply 0 retweets 0 likes -
Replying to @yoshuawuyts
it's somewhat hidden; everything with an `impl Display` also has `.to_string()`: https://doc.rust-lang.org/nightly/std/string/trait.ToString.html#impl-ToString-3 …
1 reply 0 retweets 1 like
Replying to @killercup
Heh, did not realize that!
1:57 AM - 14 Oct 2018
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.