test webserver: Whitelist some more HTTP statuses
- HTTP 301 for redirect-to - HTTP 404 for status/404
This commit is contained in:
parent
e1fd9fc408
commit
8c9bd95123
@ -68,6 +68,8 @@ class Request(testprocess.Line):
|
||||
'/custom/redirect-later': [http.client.FOUND],
|
||||
'/basic-auth/user/password':
|
||||
[http.client.UNAUTHORIZED, http.client.OK],
|
||||
'/redirect-to': [http.client.FOUND],
|
||||
'/status/404': [http.client.NOT_FOUND],
|
||||
}
|
||||
|
||||
sanitized = QUrl('http://localhost' + self.path).path() # Remove ?foo
|
||||
|
Loading…
Reference in New Issue
Block a user