RequestHeaderRemove

Removes a previously associated HTTP Request Header from an HTTP Session

  • Stored Procedure
  • SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017

Syntax:

EXEC SQLHTTP.net.RequestHeaderRemove @HttpSessionID, @Key

Arguments:

Name Type Description
@HttpSessionID uniqueidentifier This value is obtained via the HttpSession stored procedure
@Key nvarchar(400) Request Header Key Name previously set

Sample Usage:

The following example adds a Request Header and then removes it, resulting in an empty RequestHeaders for the given HttpSessionID:

See Also: