URLConnection.ClearRequestHeaders

From Xojo Documentation

Method

URLConnection.ClearRequestHeaders()

Supported for all project types and targets.

Clears all of the request headers, which is useful if you are using the socket to send a different request.

Sample Code

mySocket.ClearRequestHeaders