【问题标题】:How does Google Drive API support Content-Range for download requests? [closed]Google Drive API 如何支持 Content-Range 的下载请求? [关闭]
【发布时间】:2012-05-05 09:32:30
【问题描述】:

Google Drive API 如何支持获取 Content-Range 请求? App Engine 获取请求的大小有限制。请支持范围请求,以便读取大文件。

【问题讨论】:

  • 这是一个完全合理的问题。请重新阅读。我已经对其进行了编辑,以使 Pere 和 Casper 更容易理解。

标签: google-drive-api


【解决方案1】:

您可以提供 Range: 标头,例如:

Range: bytes=5-12

仅下载所需的字节,在本例中为 5-12。请参阅additional documentation about downloads

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多