# Head

> Creates a UnityWebRequest configured to send a HTTP HEAD request.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Networking](/engine/6000.0/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

## Head(string)

Creates a UnityWebRequest configured to send a HTTP `HEAD` request.

```csharp
public static UnityWebRequest Head(string uri)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The URI to which to send a HTTP `HEAD` request.

### Returns

| Type                                                                                         | Description                                                     |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) | A UnityWebRequest configured to transmit a HTTP `HEAD` request. |

### Remarks

This method creates a UnityWebRequest, sets the verb to `HEAD` and sets the target URL to the string argument uri. It sets no custom flags or headers.

This method attaches no [DownloadHandler](/engine/6000.0/script-reference/unityengine/networking/downloadhandler.md) or [UploadHandler](/engine/6000.0/script-reference/unityengine/networking/uploadhandler.md) to the [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md).

## Head(Uri)

Creates a UnityWebRequest configured to send a HTTP `HEAD` request.

```csharp
public static UnityWebRequest Head(Uri uri)
```

### Parameters

**** (\[Uri]\(https\://learn.microsoft.com/dotnet/api/system.uri)): The URI to which to send a HTTP `HEAD` request.

### Returns

| Type                                                                                         | Description                                                     |
| -------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md) | A UnityWebRequest configured to transmit a HTTP `HEAD` request. |

### Remarks

This method creates a UnityWebRequest, sets the verb to `HEAD` and sets the target URL to the string argument uri. It sets no custom flags or headers.

This method attaches no [DownloadHandler](/engine/6000.0/script-reference/unityengine/networking/downloadhandler.md) or [UploadHandler](/engine/6000.0/script-reference/unityengine/networking/uploadhandler.md) to the [UnityWebRequest](/engine/6000.0/script-reference/unityengine/networking/unitywebrequest.md).
