11 #include "XBDateTime.h" 12 #include "addons/IAddon.h" 13 #include "addons/Webinterface.h" 14 #include "network/httprequesthandler/IHTTPRequestHandler.h" 39 bool appendPostData(
const char *data,
size_t size)
override;
42 std::string m_scriptPath;
43 ADDON::AddonPtr m_addon;
46 std::string m_requestData;
47 std::string m_responseData;
48 HttpResponseRanges m_responseRanges;
50 std::string m_redirectUrl;
Definition: IHTTPRequestHandler.h:66
bool GetLastModifiedDate(CDateTime &lastModified) const override
Returns the last modification date of the response data.
Definition: HTTPPythonHandler.cpp:227
IHTTPRequestHandler * Create(const HTTPRequest &request) const override
Creates a new HTTP request handler for the given request.
Definition: HTTPPythonHandler.h:22
bool CanHandleRanges() const override
Whether the HTTP response could also be provided in ranges.
Definition: HTTPPythonHandler.h:24
Definition: HTTPPythonHandler.h:16
HttpResponseRanges GetResponseData() const override
Returns the ranges with raw data belonging to the response.
Definition: HTTPPythonHandler.h:30
DateTime class, which uses FileTime as it's base.
Definition: XBDateTime.h:63
std::string GetRedirectUrl() const override
Returns the URL to which the request should be redirected.
Definition: HTTPPythonHandler.h:32
MHD_RESULT HandleRequest() override
Handles the HTTP request.
Definition: HTTPPythonHandler.cpp:119
int GetPriority() const override
Returns the priority of the HTTP request handler.
Definition: HTTPPythonHandler.h:34
bool CanBeCached() const override
Whether the HTTP response can be cached.
Definition: HTTPPythonHandler.h:25
Definition: IHTTPRequestHandler.h:85
bool CanHandleRequest(const HTTPRequest &request) const override
Checks if the HTTP request handler can handle the given request.
Definition: HTTPPythonHandler.cpp:102