HttpRequest.removeHeader Method
Parent Object:
HttpRequestDefined in namespace "adsk::core" and the header file is <Core/Application/HttpRequest.h>
Description
Removes a header from the request.
Syntax
"httpRequest_var" is a variable referencing a HttpRequest object.returnValue = httpRequest_var.removeHeader(name)
|
"httpRequest_var" is a variable referencing a HttpRequest object.
#include <Core/Application/HttpRequest.h>
returnValue = httpRequest_var->removeHeader(name);
|
Return Value
boolean |
Returns true if the header was found and removed. |
Parameters
name |
string |
The case insensitive name of the header. |
Version
Introduced in version January 2024