Version: 2017.3
public static Networking.UnityWebRequest Head (string uri);

Parameters

uri The URI to which to send a HTTP HEAD request.

Returns

UnityWebRequest A UnityWebRequest configured to transmit a HTTP HEAD request.

Description

Creates a UnityWebRequest configured to send a HTTP HEAD request.

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 or UploadHandler to the UnityWebRequest.