> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alumio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add content length headers to requests

> Calculate and add content length header to the request.

Works out the size of each request's body and adds a `Content-Length` header to match. Use this when the service you are calling expects requests to declare their body size up front. There is nothing to configure: once the plugin is added to the connection, it measures every outgoing request and sets the header automatically.

This documentation describes: [Schema](/schemas/http-client-plugin-configurator/content-length)

## Sample data

This plugin sets a header on outgoing HTTP requests on a live connection rather than transforming integration data, so there is no before/after to show. It takes no settings; adding it to a connection is all that is needed.

```json Configuration theme={null}
{
  "prototype": "content-length",
  "parameters": {}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.