[FFmpeg-trac] #9700(ffprobe:new): "451 Unavailable For Legal Reasons" instead of just HTTP_OTHER_4XX error
FFmpeg
trac at avcodec.org
Fri Mar 25 16:02:00 EET 2022
#9700: "451 Unavailable For Legal Reasons" instead of just HTTP_OTHER_4XX error
-------------------------------------+-------------------------------------
Reporter: Owyn | Type: defect
Status: new | Priority: normal
Component: ffprobe | Version:
Keywords: 451 error | unspecified
4XX | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
HTTP error code for 451 is currently missing from FFPROBE so it just
returns HTTP_OTHER_4XX error for it mixing things up and making it
impossible to detect when a server is returning 451 for geo-blocked
content and not the old-fashioned 403 forbidden
How to reproduce:
ffprobe a geo-blocked iptv channel ( for example -
https://strm.yandex.ru/kal/rbc/rbc0.m3u8 )
Expected result:
"Server returned 451 Unavailable For Legal Reasons"
Actual result:
"Server returned 4XX Client Error, but not one of 40{0,1,3,4}"
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9700>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list