HttpRequest.removeHeader Method

Parent Object: HttpRequest
Defined 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

Type Description
boolean Returns true if the header was found and removed.

Parameters

Name Type Description
name string The case insensitive name of the header.

Version

Introduced in version January 2024