@HEAD — Aquilia Documentation
Comprehensive guide and documentation for @HEAD in the Aquilia framework. View API reference, examples, and implementation patterns.
Back to Decorators @HEAD The @HEAD decorator handles HTTP HEAD requests, which are identical to GET requests except that the server must not return a message body. It is useful for efficient checks on resource existence, size, or modification time. Basic Usage Why use HEAD? Etag & Caching Clients can check if their cached version is still valid using If-None-Match headers against the Etag returned by HEAD. Large Resources Determine the download size (Content-Length) of a large file before committing to download it. Previous: @DELETE Next: @OPTIONS )
Go to Homepage