Skip to content

Incorrect MIME Type for .mjs files served (Expected application/javascript, got application/octet-stream) #1622

Open
@ChristiaanHaas

Description

@ChristiaanHaas

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: *
  • Ruby: *
  • Distribution: *
  • Module version: *

How to reproduce (e.g Puppet code you use)

Setup nginx to serve mjs files

What are you seeing

The mjs files have a mime type of application/octet-stream

What behaviour did you expect instead

The mime type should be application/javascript

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions