How to cache an HTTP POST response?
- by KARASZI István
I would like to create a cacheable HTTP response for a POST request.
My actual implementation responses the following for the POST request:
HTTP/1.1 201 Created
Expires: Sat, 03 Oct 2020 15:33:00 GMT
Cache-Control: private,max-age=315360000,no-transform
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 9
ETag:…