Returns the value assigned to the header of the client handle. Headers define attributes of the data exchanged between the client and server. Client handles save header values across multiple Web requests. Use the Open Handle VI to create a client handle. Refer to the World Wide Web Consortium website at www.w3.org for more information about header field definitions including example headers, descriptions, and syntax.


icon

Inputs/Outputs

  • cdlrn.png client handle

    client handle specifies the client handle to associate with the Web request. Use client handles to wire together multiple HTTP Client VIs while preserving authentication credentials, HTTP headers, and cookies. Client handles are not required when making independent Web requests without persistent data such as headers or credentials.

  • cstr.png header

    header specifies a header field included in the Web requests of the client handle. The header control provides a pull-down menu with some available header fields.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • idlrn.png client handle out

    client handle out returns the client handle associated with the Web request. Use client handles to wire together multiple HTTP Client VIs while preserving authentication credentials, HTTP headers, and cookies. Client handles are not required when making independent Web requests without persistent data such as headers or credentials.

  • istr.png value

    value returns the value assigned to the header.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • If the client handle does not include a header, this VI returns an error. Use HeaderExists to return header values for client handles that may not include headers.