[MONGOCRYPT-282] Support parsing chunked transfer encoding for HTTP responses Created: 24/Sep/20  Updated: 28/Oct/23  Resolved: 28/Sep/20

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1.0-beta1

Type: New Feature Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: MONGOCRYPT-250

 Description   

GCP HTTP replies are returned as chunked responses.

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Vary: X-Origin
Vary: Referer
Date: Thu, 24 Sep 2020 14:21:44 GMT
Server: scaffolding on HTTPServer2
Cache-Control: private
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Alt-Svc: h3-Q050=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Accept-Ranges: none
Vary: Origin,Accept-Encoding
Connection: close
Transfer-Encoding: chunked
 
105
{"access_token":"(redacted)","expires_in":3599,"token_type":"Bearer"}

kms_message's HTTP parser does not support it.



 Comments   
Comment by Githook User [ 28/Sep/20 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: MONGOCRYPT-282 support chunked transfer encoding (#109)
Branch: master
https://github.com/mongodb/libmongocrypt/commit/698d56e0c28ca3acfd9dc0ae0344f20e4e202c76

Comment by Kevin Albertson [ 25/Sep/20 ]

PR: https://github.com/mongodb/libmongocrypt/pull/109

Generated at Thu Feb 08 09:08:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.