dev-linux
robo-bo 2 years ago
parent 01897d7dec
commit 81160b5db6

@ -1101,12 +1101,12 @@ def WebRequestParseFile(inRequest=None):
def WebRequestResponseSend(inResponeStr, inRequest=None, inContentTypeStr: str = None, inHeadersDict: dict = None):
"""
Send response for the request
Set response for the request
:param inResponeStr:
:param inResponeStr: Response string
:param inRequest: inRequest from the server. Optional if call def from request thread
:param inContentTypeStr:
:param inHeadersDict:
:param inContentTypeStr: Type content-type. Example: "html/text"
:param inHeadersDict: Dict of the headers for the response
:return:
"""
if inRequest is None: inRequest = WebRequestGet()

Loading…
Cancel
Save