Skip to content

Support mime-type configuration. - #565

Closed
J-Rojas wants to merge 2 commits into
http-party:masterfrom
J-Rojas:support-mime-types
Closed

Support mime-type configuration.#565
J-Rojas wants to merge 2 commits into
http-party:masterfrom
J-Rojas:support-mime-types

Conversation

@J-Rojas

@J-Rojas J-Rojas commented Sep 25, 2019

Copy link
Copy Markdown

Fix for Content-Type: application/wasm

Adds support for mime types using --mime=.

Example:

http-server --mime='{ "text/plain": [ "txt", "md" ] }'

This configuration support Content-Type application/wasm using a hack (only way based on the ecstatic module version used).

Fix for Content-Type: application/wasm

Adds support for mime types using --mime=<JSON string>.

Example:

http-server --mime='{ "text/plain": [ "txt", "md" ] }'

This configuration support Content-Type application/wasm using a hack (only way based on the ecstatic module version used).
@madprogramer

This comment has been minimized.

@thornjad

Copy link
Copy Markdown
Member

This will be supported directly by #693

@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.

3 participants