Skip to content

Conversation

@poorbarcode
Copy link
Contributor

@poorbarcode poorbarcode commented Mar 19, 2024

Motivation

curl -X GET https://127.0.0.1:443/admin/v2/schemas/public/default/tp1/schema 

Response:

HTTP/1.1 200 OK
Content-Encoding: application/json
Content-Type: application/json
Server: Jetty(9.4.51.v20230217)
Content-Length: 403

The HTTP response header Content-Encoding is wrong and unnecessary. The other branches have been fixed by #16018 and can not cherry-pick into branch-2.10, see detail here

Modifications

Remove the unnecessary HTTP response header: Content-Encoding

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: x

@poorbarcode poorbarcode self-assigned this Mar 19, 2024
@poorbarcode poorbarcode added type/bug The PR fixed a bug or issue reported a bug cherry-picked/branch-2.10 release/2.10.7 labels Mar 19, 2024
@poorbarcode poorbarcode added this to the 3.3.0 milestone Mar 19, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Mar 19, 2024
@lhotari lhotari changed the title [fix] [broker] Remove the unnecessary HTTP response header: Content_Encoding when calling getSchema [fix] [broker] Remove the unnecessary HTTP response header: Content-Encoding when calling getSchema Mar 19, 2024
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@poorbarcode poorbarcode changed the title [fix] [broker] Remove the unnecessary HTTP response header: Content-Encoding when calling getSchema [fix] [broker] [branch-2.10] Remove the unnecessary HTTP response header: Content-Encoding when calling getSchema Mar 20, 2024
@poorbarcode poorbarcode merged commit 838c0c3 into apache:branch-2.10 Mar 20, 2024
@lhotari lhotari changed the title [fix] [broker] [branch-2.10] Remove the unnecessary HTTP response header: Content-Encoding when calling getSchema [fix][broker][branch-2.10] Remove the unnecessary HTTP response header: Content-Encoding when calling getSchema Mar 27, 2024
@lhotari lhotari removed this from the 3.3.0 milestone Mar 27, 2024
nodece pushed a commit to ascentstream/pulsar that referenced this pull request May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs release/2.10.7 type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants