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(gateway): ensure directory listings have Content-Type text/html #7330

Merged
merged 2 commits into from
May 20, 2020

Commits on May 20, 2020

  1. fix(gateway): fix status code for HEAD on redirects

    Report a consistent status code for HEAD requests that end up in a
    redirect.
    Lekensteyn committed May 20, 2020
    Configuration menu
    Copy the full SHA
    7c7888c View commit details
    Browse the repository at this point in the history
  2. fix(gateway): ensure directory listings have Content-Type text/html

    Files already have an explicit Content-Type set. Be sure to do this for
    directory listings as well to avoid a fallback to autodetection in
    net/http. That fallback fails when a ResponseWriter is installed that
    performs compression.
    Lekensteyn committed May 20, 2020
    Configuration menu
    Copy the full SHA
    d4952f2 View commit details
    Browse the repository at this point in the history