mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 19:12:49 -05:00
[generic] Fix test_Generic_2
Now a HEAD request returns 400 Bad Request
This commit is contained in:
@ -105,7 +105,8 @@ class GenericIE(InfoExtractor):
|
|||||||
'skip_download': True, # infinite live stream
|
'skip_download': True, # infinite live stream
|
||||||
},
|
},
|
||||||
'expected_warnings': [
|
'expected_warnings': [
|
||||||
r'501.*Not Implemented'
|
r'501.*Not Implemented',
|
||||||
|
r'400.*Bad Request',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
# Direct link with incorrect MIME type
|
# Direct link with incorrect MIME type
|
||||||
|
Reference in New Issue
Block a user