You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "poorbarcode (via GitHub)" <gi...@apache.org> on 2024/03/19 18:51:57 UTC

[PR] [fix] [broker] Remove the unnecessary HTTP response header: Content_Encoding when calling getSchema [pulsar]

poorbarcode opened a new pull request, #22307:
URL: https://github.com/apache/pulsar/pull/22307

   ### 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 https://github.com/apache/pulsar/pull/16018 and can not cherry-pick into `branch-2.10`, see detail [here](https://github.com/apache/pulsar/pull/16018#issuecomment-1820357348)
   
   ### Modifications
   
   Remove the unnecessary HTTP response header: Content_Encoding
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix] [broker] [branch-2.10] Remove the unnecessary HTTP response header: Content-Encoding when calling getSchema [pulsar]

Posted by "poorbarcode (via GitHub)" <gi...@apache.org>.
poorbarcode merged PR #22307:
URL: https://github.com/apache/pulsar/pull/22307


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org