Skip to content

AwsHttpServletResponse#setCharacterEncoding(String) is setting Content-Encoding #188

@larmog

Description

@larmog
  • Framework version: 1.1.4
  • Implementations: Core

Scenario

The setCharacterEncoding-method in AwsHttpServletResponse on row 337 is using the wrong HTTP header: Content-Encoding that should be used for compression.

response.setCharacterEncoding("UTF-8")

Expected behavior

For example:
Content-type: application/json; charset=utf-8

Actual behavior

Header:
Content-Encoding: UTF-8

Steps to reproduce

Full log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions