curl-and-python

Re: Getting range error although the server accepts range

From: Oleg Pudeyev <oleg+pycurl_at_bsdpower.com>
Date: Mon, 23 Dec 2013 22:19:58 -0500

On Thu, 19 Dec 2013 18:03:03 +0100
Dima Tisnek <dimaqq_at_gmail.com> wrote:

> perhaps someone else can answer what RESUME_FROM really does?

It sends the Range header with the request.

This particular server looks to have a whitelist of user agents from
which it will honor the Range header. The server still sends
Accept-Ranges: bytes in the response even to user agents from whom it
does not honor Range which seems bogus.

http://pastebin.com/TUCkuFbf

Oleg

--
Please remove +pycurl when mailing me privately.
_______________________________________________
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2013-12-24