Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Bad Content-Type with ELB #60

Description

@profy12

If using this layer with an ELB, http header Content-Type is set to application/octet-stream instead of text/html; charset=UTF-8.

Bug or feature ? How can I change it ?

Activity

  1. emycakes commented on Feb 28, 2020

    @emycakes

    can confirm I am also experiencing this issue without an ability to change it

  2. daftspunk commented on Oct 27, 2020

    @daftspunk

    To solve this issue, enable Multi value headers in AWS:

    1. Open AWS console
    2. Navigate to EC2 > Load Balancing > Target Groups
    3. Select relevant Target Group
    4. Click Edit under Attributes
    5. Set Multi value headers to Enabled

    The proper headers should return now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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