Bug 607870 - wget doesn't support 206 partial content response
Summary: wget doesn't support 206 partial content response
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: wget
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Tomáš Hozza
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks: 920478
TreeView+ depends on / blocked
 
Reported: 2010-06-25 03:57 UTC by bitserve
Modified: 2013-03-12 08:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 920478 (view as bug list)
Environment:
Last Closed: 2013-03-12 08:32:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Savannah 20416 0 None None None 2012-10-16 10:31:41 UTC

Description bitserve 2010-06-25 03:57:07 UTC
Description of problem:

When using wget with a --header="Range: bytes=[number]-" header, wget doesn't recognize the 206 partial content response as valid and keeps retrying with:

HTTP request sent, awaiting response... 206 Partial Content
Retrying.


Version-Release number of selected component (if applicable):

GNU Wget 1.11.4 Red Hat modified

How reproducible:

Always.

Steps to Reproduce:
1. wget --header="Range: bytes=1-" http://www.redhat.com
2.
3.
  
Actual results:

--2010-06-24 22:44:27--  http://www.redhat.com/
Resolving www.redhat.com... 184.50.224.112
Connecting to www.redhat.com|184.50.224.112|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Retrying.

--2010-06-24 22:44:28--  (try: 2)  http://www.redhat.com/
Connecting to www.redhat.com|184.50.224.112|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Retrying.

--2010-06-24 22:44:30--  (try: 3)  http://www.redhat.com/
Connecting to www.redhat.com|184.50.224.112|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Retrying.

Expected results:

--2010-06-24 22:44:02--  http://www.redhat.com/
Resolving www.redhat.com... 184.50.224.112
Connecting to www.redhat.com|184.50.224.112|:80... connected.
HTTP request sent, awaiting response... 206 OK
Length: 19546 (19K) [text/html]
Saving to: `index.html'

100%[===================================================================================================================================================================================================>] 19,546      --.-K/s   in 0.04s

2010-06-24 22:44:02 (537 KB/s) - `index.html' saved [19545/19546]

Additional info:

Seems to have broken after wget 1.9 and fixed with a feature addition

http://savannah.gnu.org/bugs/?func=detailitem&item_id=20416

Comment 1 Tomáš Hozza 2013-03-12 08:32:53 UTC
I am sorry, but it is now too late in the RHEL-5 release cycle.
RHEL-5.10 (the next RHEL-5 minor release) is going to be the first
production phase 2 [1] release of RHEL-5. This issue is still not
fixed in upstream. There still needs to be a wider discussion about
the proper fix. Regarding the nature of this issue, it is more a
Feature Request than a Bug. Since phase 2 we'll be addressing
only security and critical issues I am closing this bug as WONTFIX.

I cloned this issue for Fedora rawhide to keep track of it (Bug #920478)

[1] https://access.redhat.com/support/policy/updates/errata/


Note You need to log in before you can comment on or make changes to this bug.