resetHeaders (method)
Resets all HTTP headers, cookies, and LocalFile.
Syntax
- (void)resetHeaders;
public func resetHeaders() throws -> Void
Remarks
Resets all the HTTP headers as well as LocalFile to "" (empty string).
Call this method before creating a new request, so that headers and query parameters from the previous request are not carried over to the next one.