[wget-notify] [bug #20521] Multiple 'Pragma:' headers not supported

NoèlKöthe INVALID.NOREPLY at gnu.org
Wed Jul 18 12:45:50 PDT 2007


URL:
  <http://savannah.gnu.org/bugs/?20521>

                 Summary: Multiple 'Pragma:' headers not supported
                 Project: GNU Wget
            Submitted by: nok
            Submitted on: Mittwoch 18.07.2007 um 21:45
                Category: User Interface
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.10.2
        Operating System: GNU/Linux
         Reproducibility: None
           Fixed Release: None
         Planned Release: None
              Regression: None
           Work Required: None
          Patch Included: None

    _______________________________________________________

Details:

Hello,

a forwarded bugreport http://bugs.debian.org/366434

"It's meaningful to have multiple 'Pragma:' headers within an http request,
but wget will silently issue only a single one of them if they are specified
within separate arguments.  For example,

[moise at mole /tmp]$ wget -U 'NSPlayer/4.1.0.3856' --header='Pragma:
no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0'
--header='Pragma: xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278}'
--header='Pragma: xPlayStrm=1' --header='Pragma: stream-switch-count=1'
--header='Pragma: stream-switch-entry=ffff:1:0'
http://wms.scripps.com:80/knoxville/siler/siler.mp3 

  ... doesn't work, and inspection with ethereal reveals that wget is only
sending the last 'Pragma:' header given.  Compressing all the 'Pragma'
directives into a single header makes the fetch work:

[moise at mole /tmp]$ wget -U 'NSPlayer/4.1.0.3856' --header='Pragma:
no-cache,rate=1.000000,stream-time=0,stream-offset=0:0,request-context=2,max-duration=0,xClientGUID={c77e7400-738a-11d2-9add-0020af0a3278},xPlayStrm=1,stream-switch-count=1,stream-switch-entry=ffff:1:0'
http://wms.scripps.com:80/knoxville/siler/siler.mp3

"

thx.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20521>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/



More information about the wget-notify mailing list