Conditional Requests
- Category :
- Concept
- Tags :
- general_computing_gleanings
- http
- conditional_requests
- c
- Created:
Table of Contents
About
HTTP has a concept of conditional requests, where the results, and even the success of a request, can be controlled by comparing the affected resources with a validator1.
Use
They are useful for:
- Validating cached content, ensuring that it is only fetched if it differs from the copy that is already available
- Ensuring the integrity of a document when resuming a download, or preventing lost updates when uploading or modifying a document on the server
Anki
Links
References
MDN. “conditional requests”. Available at: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Conditional_requests. (Accessed: ). ↩︎
Share :
Other Articles
- Published:
- 507 Insufficient Storage
- Category: Concept
- Published:
- asynchronous
- Category: Concept
- Published:
- Access-Control-Request-Method header
- Category: Concept