hello.
When using HTTPS, the server's response comes with ContentType: Application/grpc, and the data becomes strange.
If you have such grpc data, please let me know if you know how to handle it.
First of all, the first part of the data is attached with the following information.
0x00, 0x00, 0x02, 0x00, 0x22, 0x0A, 0x9E, 0x80, 0x08, 0x0A, 0x18, 0x61, 0x70, 0x70, 0x6C, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6F, 0x6F, 0x6F, 0x6F, 0x6F 0x63; 0x74, 0x65, 0x74, 0x2D, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6D, 0x12, 0x80, 0x80, 0x08
It seems to have the letters "application/octet-stream" and other information.
This is the first time I've seen such a case and I don't know how to start.
Please help me.
Headers requested:
GET https://content.dropboxapi.com/2/files/download HTTP/1.1
Host: content.dropboxapi.com
Connection: keep-alive
Authorization: Bearer ...
Dropbox-API-Arg: {"path":"id:"}
Range: bytes=0-1048575
User-Agent: RaiDrive/2023.2.39.0
Response header: The total received body size is 1048849.
HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Content-Disposition: attachment; filename=unspecified
Content-Range: bytes 0-1048575/6080306
Content-Security-Policy: sandbox
Content-Security-Policy: sandbox allow-forms allow-scripts
Etag: W/"5fa254c2c13e12112719d"
Original-Content-Length: 1048576
Vary: Dropbox-API-Arg, Authorization
X-Content-Security-Policy: sandbox
X-Content-Type-Options: nosniff
X-Webkit-Csp: sandbox
Content-Type: application/grpc
Accept-Encoding: identity,gzip
Date: Tue, 25 Apr 2023 09:59:58 GMT
Server: envoy
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Robots-Tag: noindex, nofollow, noimageindex
Content-Length: 1048576
X-Dropbox-Response-Origin: far_remote
X-Dropbox-Request-Id: 39bed946920f47beb96865cf85924cfa