在某些情况下,响应可恢复上传状态请求时缺少Range头部:
请求:
PUT https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&upload_id=<redacted> HTTP/1.1
<redacted>
Content-Range: bytes */5226496
Content-Length: 0响应:
HTTP/1.1 308 Resume Incomplete
<redacted>
Content-Length: 0如果这是故意的,也许应该在Google Drive API documentation中提到它。
发布于 2019-08-17 04:47:50
如果云存储尚未接收到任何字节,Google不会包含Range头部。
https://stackoverflow.com/questions/27133188
复制相似问题