-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2329 from freedomofpress/2232-error-on-retry
fix(`_streaming_download`): handle retry-level JSON error responses
- Loading branch information
Showing
33 changed files
with
5,836 additions
and
5,777 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
interactions: | ||
- request: | ||
body: '{"username": "journalist", "passphrase": "correct horse battery staple | ||
profanity oil chewy", "one_time_code": "112097"}' | ||
profanity oil chewy", "one_time_code": "578466"}' | ||
headers: {} | ||
method: POST | ||
uri: api/v1/token | ||
response: !!python/object:securedrop_client.sdk.JSONResponse | ||
data: | ||
expiration: '2024-02-29T23:13:01.444028Z' | ||
expiration: '2024-12-11T02:37:22.232423Z' | ||
journalist_first_name: null | ||
journalist_last_name: null | ||
journalist_uuid: ed64b0fa-0565-4b12-9c48-6cfe27a73fd9 | ||
token: Ilhha2ZHZWpVcFZQVmpKdWJOUzJYRG1YVUc4QXZWS0JiOGVNQXJycE5GUFUi.ZeDzXQ.10ODTj49yF7kxKbeMm9eaayR3Xo | ||
journalist_uuid: e7e047d5-aa5e-4afe-9a4f-c24e5f2cec8d | ||
token: IlAzb1p1MjRubnlLOFo0SDVaajZPc2JPZWRRcjRYRUxLM3RrUmhsUEFWVTQi.Z1jewg.4VNFOk_5HSHXhgn319zzDh9JVyg | ||
headers: | ||
connection: close | ||
content-length: '290' | ||
content-type: application/json | ||
date: Thu, 29 Feb 2024 21:13:01 GMT | ||
date: Wed, 11 Dec 2024 00:37:22 GMT | ||
server: Werkzeug/2.2.3 Python/3.8.10 | ||
status: 200 | ||
version: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.