poorbarcode commented on PR #16018:
URL: https://github.com/apache/pulsar/pull/16018#issuecomment-1820357348

   @yuruguo 
   
   This PR also fixed another issue that responds an incorrect HTTP header 
`Content-Encoding`. See the detail below: 
   
   ```
   curl -X GET -H "Content-Type:application/json" 
http://127.0.0.1:50040/admin/v2/schemas/my-property/my-ns/test-client-version/schema
 
   
   
{"version":0,"type":"STRING","timestamp":1700539331898,"data":"","properties":{}}
                                                                                
                                                                                
  
   
   HTTP/1.1 200 OK
   Date: Tue, 21 Nov 2023 06:33:45 GMT
   broker-address: localhost
   Content-Encoding: application/json
   Content-Type: application/json
   Content-Length: 81
   Server: Jetty(9.4.51.v20230217)
   ```
   
   
https://github.com/apache/pulsar/pull/16018/files#diff-4bd0e9058034ada018ee4d5a4e8b950163b851e6933bf22298eb563947d54d2eL361-L362
   
   
   I cherry-picked this PR into `branch-2.11`, @yuruguo Could you cherry-pick 
this PR into `branch-2.10`?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to