Skip to Content
ReferenceStatus Codes

Status Codes

StatusMeaningTypical cause
200 OKFile served.Existing file or directory index.
206 Partial ContentOne byte range served.A satisfiable single Range request.
304 Not ModifiedCached client copy is valid.If-None-Match or If-Modified-Since matches.
308 Permanent RedirectDirectory slash redirect./docs redirects to /docs/.
400 Bad RequestRequest could not be parsed.Malformed or oversized headers.
403 ForbiddenPath rejected.Traversal or denied dotfile segment.
404 Not FoundNo file.Missing target or missing directory index.
405 Method Not AllowedUnsupported method.Anything except GET and HEAD.
406 Not AcceptableNo representation is acceptable.Identity and every available sidecar have quality zero.
416 Range Not SatisfiableRequested range is outside the representation.A single range starts beyond the selected file.
503 Service UnavailableConnection cap reached.Active plus queued connections exceed max_connections.
500 Internal Server ErrorInternal failure.Filesystem or unexpected server error.

Response headers

Successful file responses usually include:

Server: qaws/0.2.7 Content-Type: text/html; charset=utf-8 Content-Length: 297 Connection: keep-alive X-Content-Type-Options: nosniff Last-Modified: Sat, 04 Jul 2026 11:45:54 GMT ETag: W/"<mtime-ns>-<size>-identity" Accept-Ranges: bytes

The exact Content-Type, Content-Length, and Last-Modified depend on the file. Encoded responses add Content-Encoding and Vary: Accept-Encoding; 206 and 416 responses add Content-Range.

Error responses

Malformed or oversized requests close the connection defensively after the error response when possible.

Unsupported methods include:

Allow: GET, HEAD
qaws docs. Built for static hosting.