# Accept-Ranges header

> Advertises whether a server supports range requests for a resource.

Source: https://apiguide.dev/headers/accept-ranges
Direction: response
Registered: yes
Defined in: RFC 9110, Section 14.3 <https://www.rfc-editor.org/rfc/rfc9110.html#section-14.3>
Updated: 2026-07-10

## What is the Accept-Ranges header?

The `Accept-Ranges` response header tells the client whether the server supports partial requests for a resource, and which unit those ranges are measured in. The value `bytes` signals support, while `none` explicitly indicates that ranges are not supported.

## API Usage & Best Practices

* **Enables resumable transfers**: When a client sees `Accept-Ranges: bytes`, it knows it can safely send a `Range` header to resume a download or stream a portion of the resource.
* **Be explicit about no support**: Returning `Accept-Ranges: none` discourages clients from attempting range requests that the server would only answer with the full body.

## Examples

```http
HTTP/1.1 200 OK
Content-Length: 146515
Accept-Ranges: bytes
```
