Skip to content

Commit

Permalink
Rename DOWNSTREAM_TIMEOUT to UPSTREAM_TIMEOUT (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
bergundy authored Sep 11, 2024
1 parent 9fb1eaa commit 30ebcf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ is ready.

## Operation Addressability

An operation is addressed using three components:
An operation is addressed using the following components:

- The containing endpoint, a URL prefix (e.g. `http://api.mycompany.com/services/`)
- Service Name - A grouping of operations (e.g. `payments.v1`)
Expand Down Expand Up @@ -262,7 +262,7 @@ following predefined error codes.
| `INTERNAL` | 500 | An internal error occured. |
| `NOT_IMPLEMENTED` | 501 | The server either does not recognize the request method, or it lacks the ability to fulfill the request. |
| `UNAVAILABLE` | 503 | The service is currently unavailable. |
| `DOWNSTREAM_TIMEOUT` | 520 | Used by gateways to report that a request to a downstream server has timed out. |
| `UPSTREAM_TIMEOUT` | 520 | Used by gateways to report that a request to an upstream server has timed out. |

## General Purpose Headers

Expand Down

0 comments on commit 30ebcf5

Please sign in to comment.