IPWorks Cloud 2020 Python Edition

Questions / Feedback?

reset_headers Method

Resets all HTTP headers, cookies, and LocalFile.

Syntax

def reset_headers() -> None: ...

Remarks

Resets all the HTTP headers as well as local_file to "" (empty string), and clears the Metadata* and QueryParam* properties.

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]