asp.net core headers caching issue
问题 Here are the request headers from postman to my asp.net_core 2.0 API. Content-Type: application/json Accept: application/json Response from my asp.net core application is an exception thrown in a string format. But the below response headers have been sent from the API to postman. Cache-Control : no-cache, no-store, must-revalidate Pragma : no-cache Transfer-Encoding : chunked Content-Type : application/json ; charset=utf-8 Age : 0 Server : Kestrel Since the Request body is a string , and the