resetHeaders (method)
Resets all HTTP headers, cookies, and localfile.
- (void)resetHeaders
Discussion
Resets all the HTTP headers as well as LocalFile to "" (empty string). Use this method before creating a new request, so that headers from the previous message are not carried over to the next one.