[BusyBox 0003344]: wget.c misinterpretes HTTP Error 204

bugs at busybox.net bugs at busybox.net
Fri May 16 12:16:08 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=3344 
====================================================================== 
Reported By:                arved
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   3344
Category:                   Networking Support
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             05-16-2008 04:59 PDT
Last Modified:              05-16-2008 05:16 PDT
====================================================================== 
Summary:                    wget.c misinterpretes HTTP Error 204
Description: 
204 NO CONTENT is the common result if an empty file is requested.

BusyBox treats it as an error.

Fix:
add a "case 204:" below "case 200:" at line 601 in wget.c
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 05-16-08 05:16  
---------------------------------------------------------------------- 
What about the other, currently unhandled 20x codes, i.e.
201, 202, 203, 204, 205 ?

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-16-08 04:59  arved          New Issue                                    
05-16-08 04:59  arved          Status                   new => assigned     
05-16-08 04:59  arved          Assigned To               => BusyBox         
05-16-08 05:16  bernhardf      Note Added: 0007734                          
======================================================================




More information about the busybox-cvs mailing list