1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-26 15:02:53 +01:00

[generic] Fix test_Generic_2

Now a HEAD request returns 400 Bad Request
This commit is contained in:
Yen Chi Hsuan 2016-04-16 19:44:12 +08:00
parent 67d46a3f90
commit ef0e4e7bc0
No known key found for this signature in database
GPG Key ID: 3FDDD575826C5C30

View File

@ -105,7 +105,8 @@ class GenericIE(InfoExtractor):
'skip_download': True, # infinite live stream
},
'expected_warnings': [
r'501.*Not Implemented'
r'501.*Not Implemented',
r'400.*Bad Request',
],
},
# Direct link with incorrect MIME type