我的草稿带有很大的附件。
Array ( [url] => https://www.googleapis.com/resumable/upload/gmail/v1/users/me/drafts/r3718017142990379914 [method] => post [http_header] => Array ( [0] => Authorization: Bearer ya29.**** [1] => Content-type: application/json [2] => X-Upload-Content-Type: message/rfc822 ) [response] => HTTP/1.1 200 Tunnel established HTTP/1.1 404 Not Found X-GUploader-UploadID: AEnB2Up-CJW9XP4E84DqWjZhI_8-YFgWR47UNNfqGkmM2S5EBf3H5aGOcuwHzLd-4faoKAxd_qgaO5GInDUiJx6uua8JDwj4X0yLamxA--WySFB3ZZxw7YQ Vary: Origin Vary: X-Origin Content-Type: text/html; charset=UTF-8 Content-Length: 9 Date: Fri, 18 Aug 2017 12:48:24 GMT Server: UploadServer Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35" Not Found [res_header] => HTTP/1.1 200 Tunnel established [res_body] => HTTP/1.1 404 Not Found X-GUploader-UploadID: AEnB2Up-CJW9XP4E84DqWjZhI_8-YFgWR47UNNfqGkmM2S5EBf3H5aGOcuwHzLd-4faoKAxd_qgaO5GInDUiJx6uua8JDwj4X0yLamxA--WySFB3ZZxw7YQ Vary: Origin Vary: X-Origin Content-Type: text/html; charset=UTF-8 Content-Length: 9 Date: Fri, 18 Aug 2017 12:48:24 GMT Server: UploadServer Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35" Not Found [errno] => 0 [error] => )
那么,草稿是否无法使用可恢复的上传进行编辑?
如何编辑带有大附件的草稿?
答案 0 :(得分:0)
更新草稿时,必须使用put。
像: PUT https://www.googleapis.com/upload/gmail/v1/users/me/drafts/r6052444812129220058