author: laplante@plcb.ca date: 2024-03-17 title: “HTTP::HEADER_DEL Function” version: 1.0.0 section: 1g category: GOWEB/HTTP
http::header_del — Remove a header http::headerDel — Remove a header
http::header_del(key [, error: variable, set: “server|client|both”])
The http::header_del
function removes a header by its key.
It can be applied to client-side requests, server-side responses, or
both, depending on the set
parameter:
// Remove a custom header
header_del("X-Goweb");
laplante@plcb.ca