HttpWatch Automation Reference - Version 13.x
HttpWatch Namespace / Header Class / Name Property

In This Topic
    Name Property (Header)
    In This Topic
    Contains the name of the HTTP header, e.g. "Content-Length" or "User-Agent" that was returned from the server.
    Public ReadOnly Property Name As String
    public string Name {get;}

    HTTP header names are usually mixed case, e.g. 'Content-Type' but the HTTP Specification (RFC2616) allows any case to be used. So a server could return header names such as 'content-type' or 'CONTENT-TYPE'.

    Always use a case-insensitive comparison if you are looking for a particular named header.

    See Also