Kovatsch Matthias
2017-08-04 21:52:17 UTC
Hi all
I am currently adding etch support to Copper and read the following:
" FETCH cannot be assumed to be a complete representation
of the resource identified by the effective request URI, i.e., it
cannot be used by a cache as a payload to be returned by a GET
request."
Too bad that:
"Unlike HTTP, the cacheability of CoAP responses does not depend on
the request method, but it depends on the Response Code. " [RFC 7252]
Thus, we need a proper Response Code for FETCH. However, which one? "Changed" is a bit ill-suited for a safe method...
Currently text on this is completely missing. Examples will have to be fixed.
Ciao
Matthias
I am currently adding etch support to Copper and read the following:
" FETCH cannot be assumed to be a complete representation
of the resource identified by the effective request URI, i.e., it
cannot be used by a cache as a payload to be returned by a GET
request."
Too bad that:
"Unlike HTTP, the cacheability of CoAP responses does not depend on
the request method, but it depends on the Response Code. " [RFC 7252]
Thus, we need a proper Response Code for FETCH. However, which one? "Changed" is a bit ill-suited for a safe method...
Currently text on this is completely missing. Examples will have to be fixed.
Ciao
Matthias