Create HttpStatus to safely deal with HTTP responses status. (#33581)

Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
webbeef 2024-09-29 11:23:48 -07:00 committed by GitHub
parent 013473f1d5
commit 58f34ad7a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 344 additions and 403 deletions

View file

@ -1,92 +1,5 @@
[status.any.html]
[Response with status 300: compileStreaming]
expected: FAIL
[Response with status 400: compileStreaming]
expected: FAIL
[Response with status 404: compileStreaming]
expected: FAIL
[Response with status 500: compileStreaming]
expected: FAIL
[Response with status 600: compileStreaming]
expected: FAIL
[Response with status 700: compileStreaming]
expected: FAIL
[Response with status 999: compileStreaming]
expected: FAIL
[Response with status 300: instantiateStreaming]
expected: FAIL
[Response with status 400: instantiateStreaming]
expected: FAIL
[Response with status 404: instantiateStreaming]
expected: FAIL
[Response with status 500: instantiateStreaming]
expected: FAIL
[Response with status 600: instantiateStreaming]
expected: FAIL
[Response with status 700: instantiateStreaming]
expected: FAIL
[Response with status 999: instantiateStreaming]
expected: FAIL
[status.any.sharedworker.html]
expected: ERROR
[status.any.serviceworker.html]
expected: ERROR
[status.any.worker.html]
[Response with status 300: compileStreaming]
expected: FAIL
[Response with status 400: compileStreaming]
expected: FAIL
[Response with status 404: compileStreaming]
expected: FAIL
[Response with status 500: compileStreaming]
expected: FAIL
[Response with status 600: compileStreaming]
expected: FAIL
[Response with status 700: compileStreaming]
expected: FAIL
[Response with status 999: compileStreaming]
expected: FAIL
[Response with status 300: instantiateStreaming]
expected: FAIL
[Response with status 400: instantiateStreaming]
expected: FAIL
[Response with status 404: instantiateStreaming]
expected: FAIL
[Response with status 500: instantiateStreaming]
expected: FAIL
[Response with status 600: instantiateStreaming]
expected: FAIL
[Response with status 700: instantiateStreaming]
expected: FAIL
[Response with status 999: instantiateStreaming]
expected: FAIL