Fetching the headers of a webp file in a static website returns `content-type: text/plain`

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      Fetching the headers of a .webp file in a static website on Bitbucket Cloud returns

      'content-type: text/plain; charset=utf-8'

      Steps to Reproduce

      1. Create a Bitbucket Cloud repository named <workspaceID>.bitbucket.io to publish a static website
      2. Commit and push to this repo a file with the extension .webp
      3. Run the command
         curl --head https://<workspaceID>.bitbucket.io/path/to/myfile.webp

      Expected Results

      The command returns

      'content-type: image/webp'

      Actual Results

      The command returns

      'content-type: text/plain; charset=utf-8'

      Workaround

      Currently, there is no known workaround for this behavior.

            Assignee:
            Unassigned
            Reporter:
            Theodora Boudale (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: