

# Request and response behavior
<a name="RequestAndResponseBehavior"></a>

The following topics describe how CloudFront handles requests and responses. 

You can learn about how CloudFront interacts with Amazon S3 or custom origins, handles various HTTP methods and headers, processes status codes, and manages caching and error responses. 

**Topics**
+ [How CloudFront processes HTTP and HTTPS requests](HTTPandHTTPSRequests.md)
+ [Request and response behavior for Amazon S3 origins](RequestAndResponseBehaviorS3Origin.md)
+ [Request and response behavior for custom origins](RequestAndResponseBehaviorCustomOrigin.md)
+ [Request and response behavior for origin groups](RequestAndResponseBehaviorOriginGroups.md)
+ [Add custom headers to origin requests](add-origin-custom-headers.md)
+ [How CloudFront processes partial requests for an object (range GETs)](RangeGETs.md)
+ [How CloudFront processes HTTP 3xx status codes from your origin](http-3xx-status-codes.md)
+ [How CloudFront processes HTTP 4xx and 5xx status codes from your origin](HTTPStatusCodes.md)
+ [Generate custom error responses](GeneratingCustomErrorResponses.md)

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon CloudFront. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query AmazonCloudFront` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
