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

Fix wrap-content-type for requests of directories #452

Closed
wants to merge 1 commit into from

Commits on Dec 9, 2021

  1. Fix wrap-content-type for requests of directories

    When the request points to a directory and the body of the response
    is a file (i.e. index.html or something like that), take the mime type
    of that file. This fixes the case where previously requesting "/"
    would serve "index.html" with content type "application/octet-stream".
    svdo committed Dec 9, 2021
    Configuration menu
    Copy the full SHA
    b201823 View commit details
    Browse the repository at this point in the history