add ADR 7 (Network errors)

This commit is contained in:
Sunshine 2020-11-22 17:20:37 -10:00
parent 38a6f963ad
commit 7a97291498
No known key found for this signature in database
GPG key ID: B80CA68703CD8AB1
4 changed files with 22 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# 2. Network request timeout
# 3. Network request timeout
Date: 2020-02-15

View file

@ -1,4 +1,4 @@
# 4. Asset Minimization
# 5. Asset Minimization
Date: 2020-03-14

View file

@ -1,4 +1,4 @@
# 4. Reload and location `meta` tags
# 6. Reload and location `meta` tags
Date: 2020-06-25

View file

@ -0,0 +1,19 @@
# 7. Network errors
Date: 2020-11-22
## Status
Accepted
## Context
Servers may return information with HTTP response codes other than `200`, however those responses may still contain useful data.
## Decision
Fail by default, notifying of the network error. Add option to continue retrieving assets by treating all response codes as `200`.
## Consequences
Monolith will fail to obtain resources with status other than `200`, unless told to ignore network errors.