handle complete responses to https range requests
authorDavid Kalnischkies <kalnischkies@gmail.com>
Mon, 30 Sep 2013 14:41:16 +0000 (16:41 +0200)
committerDavid Kalnischkies <kalnischkies@gmail.com>
Tue, 1 Oct 2013 09:17:02 +0000 (11:17 +0200)
commitfd46d30571eb240ec3aae792e7a56061ede50524
treea22dd7c94bea0be6b97a92285669d75af156df80
parent85050e764482197aad5daeeafd95ff6bf680afcb
handle complete responses to https range requests

Servers might respond with a complete file either because they don't
support Ranges at all or the If-Range condition isn't statisfied, so we
have to parse the headers curl gets ourself to seek or truncate the file
we have so far.

This also finially adds the testcase testing a bunch of partial
situations for both, http and https - which is now all green.

Closes: 617643, 667699
LP: 1157943
methods/http.cc
methods/http.h
methods/https.cc
methods/https.h
methods/makefile
methods/server.h
test/integration/apt.pem [new file with mode: 0644]
test/integration/framework
test/integration/test-partial-file-support [new file with mode: 0755]