Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCookbook ideas for mime #312
Comments
budziq
added
the
tracking issue
label
Oct 2, 2017
budziq
added this to the impl period milestone
Oct 4, 2017
This comment has been minimized.
This comment has been minimized.
|
One idea would be to use this crate to generate a HTTP response for a HTTP request. |
This comment has been minimized.
This comment has been minimized.
|
Another idea is to have a simple function that tries to guess the Mime type according to the file extension. I wrote a program that does this. See https://github.com/juli1/rust-playground/blob/master/src/mime-guess.rs I am more than happy to add this as a contribution in the cookbook. |
budziq
removed this from the impl period milestone
May 16, 2018
AndyGauge
closed this
in
#390
Jul 12, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KodrAus commentedOct 2, 2017
•
edited by AndyGauge
Come up with ideas for nice introductory examples of using the
mimecrate, possibly in combination with other crates, that would be good to show in the Rust Cookbook. Please leave a comment here with your ideas! You don't necessarily have to write the example code yourself but PRs are always welcome!FromStringError