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

Support custom mime types (content-type) #472

Closed
wants to merge 1 commit into from

Conversation

599316527
Copy link

@599316527 599316527 commented Oct 23, 2018

Just pass the mimeTypes option to node-ecstatic.

@thornjad
Copy link
Member

👍 lgtm

@Smilebags
Copy link

Why has this not been merged? Such a simple change which solves so many problems. I'll be hand-copying these changes so I can use http-server to serve wasm modules.

@nickolay
Copy link

nickolay commented Apr 6, 2019

Even with this patch I wasn't able to use wasm modules -- probably due to #480 . As noted there, with ecstatic 4.0.0 wasm was served with the correct content-type out-of-the-box.

@J-Rojas
Copy link

J-Rojas commented Sep 25, 2019

@nickolay #565 solves the wasm problem along with supporting mime types.

@thornjad thornjad self-requested a review December 11, 2019 17:44
@thornjad thornjad added this to the v0.13.0 milestone Dec 11, 2019
@thornjad
Copy link
Member

Closing in favor of #693, since we'll be able to support it directly

@thornjad thornjad closed this Jul 12, 2021
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.

5 participants