Closed petar closed 2 years ago
@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.
Rebased. Tests in go-delegated-routing aren't working with this yet, so need to resolve that.
Okay I fixed up the tests in go-delegated-routing and this all looks okay.
Addresses https://github.com/ipfs/specs/issues/282 and https://github.com/ipfs/specs/pull/287.
[x] add cachable modifier to method definitions [x] use
GET
for cachable methods,POST
for others [x] servers denyGET
requests for non-cachable methods [x] servers generateETag
for cachable methods [x] servers supportIf-None-Match
for cachable methods