Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting JS or CSS files in the booksample server produces a hello HTML page rather than a 404 #2

Closed
GerHobbelt opened this issue Mar 11, 2015 · 1 comment

Comments

@GerHobbelt
Copy link
Owner

No description provided.

@GerHobbelt
Copy link
Owner Author

produce a 404 for JS/CSS/etc. files, i.e. any files which have a MIME type other than text/html

GerHobbelt added a commit that referenced this issue Mar 12, 2015
…e()` and helper `mg_vec_matches_string()`; `default_mime_type` parameter MAY be NULL (which is useful to signal the caller that we don't know the MIME type for the given file/extension).

- fix issue #2 : produce a 404 for JS/CSS/etc. files, i.e. any files which have a MIME type other than `text/html`
GerHobbelt pushed a commit that referenced this issue Feb 13, 2016
GerHobbelt pushed a commit that referenced this issue Mar 17, 2021
Fixed typos in mg_get_response_info.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant