What is conditional GET method?


Using Conditional GET client asks a server if a resource has changed, if the resource state has changed then server responds back with resource else server replies with 304 Not Modified response, rather than the resource itself.
Any GET request is conditional if it uses "If-None-Match" header with the ETag set as the value or "If-Modified-Since". If the resource state changes subsequently ETag gets changed and the server responds with the resource.

Share this thread


comments powered by Disqus


Social Media