Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi dropbox,
------------
app permission type: App folder
API version: dropbox API v2
description: HTTP request with "Range" header field not working.
------------
A HTTP request with "Range" header should works like:
Request:
GET /test_320x180.mp4
Range: bytes=1000-
Response:
206 Partial Content
Content-Type: video/mp4
Content-Length: 64656927
Accept-Ranges: bytes
Content-Range: bytes 1000-64656926/*
But got these:
> POST /2/files/download HTTP/1.1
> Host: content.dropboxapi.com
> User-Agent: curl/7.43.0
> Accept: */*
> Authorization: Bearer h4CFOpR9f5UAAAAAAAAnRbDUUE……
> Dropbox-API-Arg: {"path": "/test.png"}
> Range: bytes=2000-
>
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
< HTTP/1.1 200 OK
< Server: nginx
< Date: Sun, 08 Nov 2015 15:39:07 GMT
< Content-Type: application/octet-stream
< Content-Length: 14659
< Connection: keep-alive
< pragma: no-cache
< cache-control: no-cache
< original-content-length: 14659
< dropbox-api-result: {"name": "test.png", "path_lower": "/test.png", "id": "id:wPJq19T.....", "client_modified": "2015-11-08T09:18:28Z", "server_modified": "2015-11-08T10:18:28Z", "rev": "1f3f632b5f", "size": 14659}
< X-Server-Response-Time: 186
< X-Dropbox-Request-Id: 4079fdd986580631468b829d8d20bebe
< X-Robots-Tag: noindex, nofollow, noimageindex
<
-------------------
Can not finish my job without "Range"'s help.
Help please, thank you so much!
ah, i need to url encode the UTF8 representation of the path. it works, thanks! 😉
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!