You are here: FME Transformers > Web Services > HTTPHeader

HTTPHeader

Performs an HTTP HEAD operation on a URL. An HTTP HEAD is the same as an HTTP GET, except that the server will not include the message body in the response. Only headers will be returned. This can be used to verify the validity of a URL, or to examine what headers will be returned from an HTTP GET request.

Output

The HTTP Response status code will be stored in the _http_status_code attribute. In addition, the HTTP response headers will be saved in the list attribute specified by the List Attribute for Response Headers parameter.

The HTTP status code and HTTP response headers will be logged with each request.

For more information on HTTP Status Codes, please refer to http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html. For a list of common HTTP response headers, please refer to http://en.wikipedia.org/wiki/List_of_HTTP_header_fields.

If an error occurs while accessing the URL, the translation will continue, and the feature will be output via the <REJECTED> port.

Parameters

HTTP Request

HTTP Response

HTTP Authentication Parameters

Proxy Parameters

Editing Transformer Parameters

About Transformer Parameter Options

Transformer Categories

Web Services

FME Licensing Level

FME Professional edition and above

Search FMEpedia

Search for samples and information about this transformer on FMEpedia.