# DurableHttpResponse.GetHeader(string)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpresponse/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablehttpresponse/methods/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableHttpResponse.cs#L37)

```csharp
public string? GetHeader(string name)
```

Returns the first value of the header `name`, or `null` when the response doesn't have it.

### Parameters

- `name` (`string`): The header's name.

### Returns

The header's first value, or `null`.
