---
id: "P:cAlgo.API.HttpResponse.Headers"
kind: "property"
type: "T:cAlgo.API.HttpResponse"
url: "https://help.ctrader.com/ctrader-algo/references/HTTP/HttpResponse/Headers/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# HttpResponse.Headers

Member of [HttpResponse](https://help.ctrader.com/ctrader-algo/references/HTTP/HttpResponse/index.md).

## Headers

Gets the headers contained in the response.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
public HttpResponseHeaders Headers {get;}
```

Python:

```python
httpResponse.Headers: HttpResponseHeaders
```

### Returns

`HttpResponseHeaders` — 

### Examples

C#:

```csharp
var response = Http.Get("https://api.example.com/quotes/EURUSD");
foreach (var header in response.Headers)
    Print("{0}: {1}", header.Key, header.Value);
```

Python:

```python
response = api.Http.Get("https://api.example.com/quotes/EURUSD")
for header in response.Headers:
    api.Print(f"{header.Key}: {header.Value}")
```

