Fixed download with content-range header (#101).
authorDaniel Carl <danielcarl@gmx.de>
Fri, 29 Aug 2014 21:00:47 +0000 (23:00 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 29 Aug 2014 21:00:47 +0000 (23:00 +0200)
commit7fc2eb2fcc1b90f36e1bd76f80e0fd3b610b3587
treeee70dd5fe3950bd15dddea4b9d587399d0e4fbcd
parent023a5b2c25e0087267b8b91ebfec79866295bab2
Fixed download with content-range header (#101).

If the server responds with an Accept-Range header without content the
download was not started. In this case we got the status_code 0 which
indicates that libsoup has not sent the message.
Now we accept status_code 0 and the 2xx.
src/main.c