scistag.webstag.server.web_response.WebResponse¶
- class WebResponse(body, status=200, cache=False)[source]¶
Bases:
objectMethods
Attributes
__annotations____dataclass_fields____dataclass_params____dict____doc____hash____module____weakref__list of weak references to the object (if defined)
Defines if the response may be cached
The response code (e.g 200 = OK)
The response body.