bugGNU Wget - Bugs: bug #38281, wget can't --continue from...

 
 

bug #38281: wget can't --continue from SimpleHTTP/0.6 Python/2.7.3

Submitter:  Vitaly Shukela <vi0>
Submitted:  Thu 07 Feb 2013 01:09:35 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  None Operating System:  GNU/Linux
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  None Regression:  Yes
Work Required:  None Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 Apr 2013 11:07:38 AM UTC, comment #2: 

But in any case the message is misleading in the newer version.

I expect wget print message about server not supporting continuing and than start re-downloading.

Vitaly Shukela <vi0>
Wed 10 Apr 2013 01:47:51 AM UTC, comment #1: 

This doesn't look like a bug to me.
When Wget sent a Range Request Header, the server replied with a 200 OK instead of a 206 Partial Content.

The server itself does not support partial downloads. There is no way Wget can force the server to deliver partial files to it.

Darshit Shah <darnir>
Group administrator
Thu 07 Feb 2013 01:09:35 AM UTC, original submission:  

$ wget --debug --continue http://127.0.0.1:8000/q.jpg -O ./q.jpg
Setting --continue (continue) to 1
Setting --output-document (outputdocument) to ./q.jpg
DEBUG output created by Wget 1.14 on linux-gnu.

URI encoding = \u2018UTF-8\u2019
--2013-02-07 04:08:52--  http://127.0.0.1:8000/q.jpg
Connecting to 127.0.0.1:8000... connected.
Created socket 4.
Releasing 0x080b5578 (new refcount 0).
Deleting unused 0x080b5578.

---request begin---
GET /q.jpg HTTP/1.1
Range: bytes=51200-
User-Agent: Wget/1.14 (linux-gnu)
Accept: /
Host: 127.0.0.1:8000
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.7.3
Date: Thu, 07 Feb 2013 01:08:52 GMT
Content-type: image/jpeg
Content-Length: 197378
Last-Modified: Thu, 07 Feb 2013 00:34:12 GMT

---response end---
200 OK
Registered socket 4 for persistent reuse.
Length: 197378 (193K) [image/jpeg]
Saving to: \u2018./q.jpg\u2019

 0% [                                                                      ] 0           --.-K/s   in 0s     

Disabling further reuse of socket 4.
Closed fd 4

Cannot write to \u2018./q.jpg\u2019 (Success).




Although




$ /tmp/wget --debug --continue http://127.0.0.1:8000/q.jpg -O ./q.jpg
Setting --continue (continue) to 1
Setting --output-document (outputdocument) to ./q.jpg
DEBUG output created by Wget 1.12 on linux-gnu.

--2013-02-07 04:09:10--  http://127.0.0.1:8000/q.jpg
Connecting to 127.0.0.1:8000... connected.
Created socket 4.
Releasing 0x080a5848 (new refcount 0).
Deleting unused 0x080a5848.

---request begin---
GET /q.jpg HTTP/1.0
Range: bytes=51200-
User-Agent: Wget/1.12 (linux-gnu)
Accept: /
Host: 127.0.0.1:8000
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.7.3
Date: Thu, 07 Feb 2013 01:09:10 GMT
Content-type: image/jpeg
Content-Length: 197378
Last-Modified: Thu, 07 Feb 2013 00:34:12 GMT

---response end---
200 OK
Length: 197378 (193K) [image/jpeg]
Saving to: `./q.jpg'

100%[=====================================================================>] 197,378     --.-K/s   in 0.003s 

Closed fd 4
2013-02-07 04:09:10 (66.5 MB/s) - `./q.jpg' saved [197378/197378]

Vitaly Shukela <vi0>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by darnir (Posted a comment)
  • -email is unavailable- added by vi0 (Submitted the item)
  •  

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-02 darnir Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code