Insufficient error test #6016
Labels
priority: P2
Smaller impact or easy workaround
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Following PR #5986, I found a new edge case.
When the
HEAD
method is not authorized, the server returns a404
status code, ending up as the following error:The error code is
1001
, whereasshaka.util.Error.Code.HTTP_ERROR
is1002
.Hence, the
GET
request is never done.I think the test should be:
And the same change should be done in
lib/hls/hls_parser.js
as well.What do you think, @avelad?
The text was updated successfully, but these errors were encountered: