IPWorks WebSockets 2020 Python Edition

Questions / Feedback?

reset_headers Method

Resets all HTTP Headers, Cookies, LocalFile , and AttachedFile .

Syntax

def reset_headers() -> None: ...

Remarks

This method resets all the HTTP Headers as well as local_file and attached_file to "" (empty string). It also resets the Cookie properties. Use this method before creating a new request, so that headers from the previous message are not carried over to the next one.

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