1
Is the HTTP QUERY method safe, idempotent, and cacheable according to the HTTP specification?
Is the HTTP QUERY method safe, idempotent, and cacheable according to the HTTP specification?
Yes. According to the HTTP specification for the newly standardized QUERY method (RFC 10008), the QUERY method is:
| Property | QUERY |
|---|---|
| Safe | Yes |
| Idempotent | Yes |
| Cacheable | Yes |
The motivation behind QUERY is to provide a method that combines the benefits of GET and POST: