What is a Delivery Policy?
Your pigeons are the delivery staff. A Delivery Policy is the reusable set of instructions they follow for timeouts, retries, and size limits. Select a policy for each Letter.
Choose how your pigeons deliver
Each delivery setting has a hint label on the form that shows which protocols it applies to. ALL covers HTTP, HTTPS, FTP, FTPS, and SFTP. HTTP/s covers HTTP and HTTPS.
| Setting | Protocol hint | Meaning |
|---|---|---|
| Delivery Policy Name | — | A required name that helps you identify the policy when selecting it for a Letter. |
| HTTP Version | HTTP/s |
Choose HTTP/1.1, HTTP/2, or HTTP/3. HTTP/2 is the default and can fall back to HTTP/1.1. HTTP/3 uses QUIC and can fall back to an earlier supported HTTP version. |
| Connection timeout (seconds) | ALL |
Set how long an attempt can wait to establish a connection, from 1 to 180 seconds. |
| Response timeout (seconds) | ALL |
Set how long to wait for a server response, from 1 to 180 seconds. |
| Retries | ALL |
Allow 0 to 3 additional attempts. One retry budget covers the entire Letter, including any redirects it follows. Only the failed request in the redirect chain is retried. |
| Connection error | ALL |
Retry eligible connection failures and response timeouts. |
| Any 4xx response | HTTP/s |
Retry HTTP responses with status codes from 400 through 499. |
| Any 5xx response | HTTP/s |
Retry HTTP responses with status codes from 500 through 599. |
| Custom HTTP status codes | HTTP/s |
Enable this option and enter up to 25 comma-separated codes from 100 through 599, such as 408, 429. To retry only those HTTP statuses, leave both range options off. |
| Max Request Header Size (KiB) | HTTP/s |
Cap the size of outgoing HTTP headers at 1 to 32 KiB. |
| Max Response Header Size (KiB) | HTTP/s |
Cap the size of incoming HTTP headers at 1 to 32 KiB. |
| Max Request Body Size (MiB) | ALL |
Limit the HTTP request body or the file being uploaded over FTP, FTPS, or SFTP. |
| Max Response Body Size (MiB) | ALL |
Limit the HTTP response body or the file being downloaded over FTP, FTPS, or SFTP. |
Check the plan comparison table for the number of policies you can save and your plan’s maximum request and response body sizes. A Delivery Policy can set lower body limits.
Plan comparison →