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

use ServeContent for index.html #2008

Closed
wants to merge 1 commit into from
Closed

Conversation

AtnNn
Copy link
Contributor

@AtnNn AtnNn commented Nov 26, 2015

This solves a problem with implicit index.html files being served with Content-Type: text/plain. For example:

One advantage is that it sets the Content-Type header correctly.

License: MIT
Signed-off-by: Etienne Laurin <etienne@atnnn.com>
@jbenet jbenet added the backlog label Nov 26, 2015
@whyrusleeping
Copy link
Member

This LGTM

@jbenet
Copy link
Member

jbenet commented Dec 1, 2015

oh bizarre, thanks.

@jbenet
Copy link
Member

jbenet commented Dec 1, 2015

could we get a sharness test case for this to ensure it does not get screwed up in the future?

@jbenet
Copy link
Member

jbenet commented Dec 1, 2015

(LGTM otherwise)

@ghost ghost added the topic/gateway Topic gateway label Dec 22, 2015
@whyrusleeping
Copy link
Member

added test for this in #2143, merging there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic/gateway Topic gateway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants