Skip to content

Whether Http-Server can specify Content-Type? #689

@wittypeter

Description

@wittypeter

Other information (related issues, suggestions for a fix, etc):

  • Module in lib/http-server.js support config the content-type option, but commond in bin/http-server.js doesn't support.
  • If using hs to proxy static files which ext is asp, the result will be the download. because the content-type of response is application/octet-stream

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions