[FFmpeg-trac] #7851(undetermined:new): two User-Agent headers appear in the result

FFmpeg trac at avcodec.org
Wed Apr 17 16:19:59 EEST 2019


#7851: two User-Agent headers appear in the result
-------------------------------------+-------------------------------------
             Reporter:  redstoneleo  |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  4.1          |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by redstoneleo):

 if adding a space in front of the User-Agent header value in the command ,
 that is,
 {{{
 D:\LYYDownloader-dev\ffmpeg -headers "Accept:*/*" -headers "Accept-
 Encoding:gzip, deflate, br" -headers "Accept-Language:zh-
 CN,zh;q=0.9,en;q=0.8" -headers "Origin:https://pc-shop.xiaoe-tech.com"
 -headers "Referer:https://pc-shop.xiaoe-
 tech.com/appzDSBtscz6568/video_details?id=v_5b0e8459e1ff5_nSu4umqK"
 -headers "User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36
 (KHTML, like Gecko) Chrome/72.0.3626.121Safari/537.36" -i
 "https://httpbin.org" -v trace
 }}}
 then there is only one User-Agent header appear in the result

 {{{
 Accept: */*
 Range: bytes=0-
 Connection: close
 Host: httpbin.org
 Icy-MetaData: 1
 User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like
 Gecko)Chrome/72.0.3626.121Safari/537.36
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7851#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list