ResponseHeaders

Returns a table of HTTP Response Headers associated with an HTTP Session

  • Function
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

SELECT *
FROM SQLHTTP.net.ResponseHeaders ( @HttpSessionID )

Arguments:

Name Type Description
@HttpSessionID uniqueidentifier This value is obtained via the HttpSession stored procedure

Table Returned:

Column name Data type Description
Key nvarchar(400) HTTP Response Header Name
Value nvarchar(MAX) HTTP Response Header Value

Sample Usage:

See Also: