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

index content type #2143

Merged
merged 2 commits into from
Jan 1, 2016
Merged

index content type #2143

merged 2 commits into from
Jan 1, 2016

Conversation

whyrusleeping
Copy link
Member

No description provided.

AtnNn and others added 2 commits January 1, 2016 14:32
One advantage is that it sets the Content-Type header correctly.

License: MIT
Signed-off-by: Etienne Laurin <etienne@atnnn.com>
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
@jbenet jbenet added the status/in-progress In progress label Jan 1, 2016
whyrusleeping added a commit that referenced this pull request Jan 1, 2016
@whyrusleeping whyrusleeping merged commit 21617b2 into dev0.4.0 Jan 1, 2016
@jbenet jbenet removed the status/in-progress In progress label Jan 1, 2016
@whyrusleeping whyrusleeping deleted the AtnNn-index_content_type branch January 1, 2016 22:52

test_expect_success "GET 'index.html' has correct content type" '
curl -I "http://127.0.0.1:$port/ipfs/$INDEXHASH/" > indexout
'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should test HEAD does not return a body

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

Successfully merging this pull request may close these issues.

3 participants