Skip to content

Commit d4eb5d5

Browse files
lidelSgtPooki
andauthored
Apply suggestions from code review
Co-authored-by: Russell Dempsey <[email protected]>
1 parent db6d950 commit d4eb5d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routing/http-routing-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ This API uses a standard version prefix in the path, such as `/v1/...`. If a bac
7575

7676
- `Content-Type`: the content type of this response, which MUST be `application/json` or `application/x-ndjson` (see [streaming](#streaming)).
7777
- `Last-Modified`: the timestamp of the resolution.
78-
- `Cache-Control: public, max-age={TTL}`: cache TTL returned with the response. When present, it SHOULD be short for responses that do whose resolution ended in no results (e.g. 15 seconds), and MAY be longer for responses that have results (e.g. 5 minutes).
78+
- `Cache-Control: public, max-age={TTL}`: cache TTL returned with the response. When present, it SHOULD be short for responses whose resolution ended in no results (e.g. 15 seconds), and MAY be longer for responses that have results (e.g. 5 minutes).
7979
- `Vary: Accept`: allows intermediate caches to play nicely with the different possible content types.
8080

8181
#### Response Body
@@ -119,7 +119,7 @@ represented as a CIDv1 encoded with `libp2p-key` codec.
119119

120120
- `Content-Type`: the content type of this response, which MUST be `application/json` or `application/x-ndjson` (see [streaming](#streaming)).
121121
- `Last-Modified`: the timestamp of the resolution.
122-
- `Cache-Control: public, max-age={TTL}`: cache TTL returned with the response. When present, it SHOULD be short for responses that do whose resolution ended in no results (e.g. 15 seconds), and MAY be longer for responses that have results (e.g. 5 minutes).
122+
- `Cache-Control: public, max-age={TTL}`: cache TTL returned with the response. When present, it SHOULD be short for responses whose resolution ended in no results (e.g. 15 seconds), and MAY be longer for responses that have results (e.g. 5 minutes).
123123
- `Vary: Accept`: allows intermediate caches to play nicely with the different possible content types.
124124

125125
#### Response Body

0 commit comments

Comments
 (0)