Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

add cachable modifier to methods #48

Merged
merged 13 commits into from
Sep 12, 2022
Merged

add cachable modifier to methods #48

merged 13 commits into from
Sep 12, 2022

Conversation

petar
Copy link
Collaborator

@petar petar commented Jun 30, 2022

Addresses ipfs/specs#282 and ipfs/specs#287.

[x] add cachable modifier to method definitions
[x] use GET for cachable methods, POST for others
[x] servers deny GET requests for non-cachable methods
[x] servers generate ETag for cachable methods
[x] servers support If-None-Match for cachable methods

@petar
Copy link
Collaborator Author

petar commented Aug 23, 2022

@guseggert FYI, whenever you are done with deployment to production, we should get back to this PR and merge it. This one implements the latest Reframe spec involving ETags.

@guseggert
Copy link
Contributor

Rebased. Tests in go-delegated-routing aren't working with this yet, so need to resolve that.

@guseggert
Copy link
Contributor

Okay I fixed up the tests in go-delegated-routing and this all looks okay.

@guseggert guseggert merged commit fbd8dae into main Sep 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants