RFC7234: Can a request body form part of a "cache key"?

Hi all,

RFC7234 states the following with respect to cache keys for methods other than GET:

"However, it is also possible to cache [...] responses to methods other than GET if the method's definition allows such caching and defines something suitable for use as a cache key.”

Could an RFC7234 compliant cache use a request body as part of the cache key, if it was so defined for a particular method?

Concrete example: If a cache cached a PROPFIND request keyed against a request body and URL, would that be RFC7234 compliant? Same for a SEARCH request?

Regards,
Graham
—

Received on Wednesday, 27 July 2016 15:19:13 UTC