"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xbmc/network/httprequesthandler/HTTPJsonRpcHandler.cpp" between
xbmc-18.7.1-Leia.tar.gz and xbmc-18.8-Leia.tar.gz

About: XBMC is a software media player and entertainment hub for digital media that plays almost all popular audio and video formats around (new name "Kodi").

HTTPJsonRpcHandler.cpp  (xbmc-18.7.1-Leia):HTTPJsonRpcHandler.cpp  (xbmc-18.8-Leia)
skipping to change at line 28 skipping to change at line 28
#include "utils/log.h" #include "utils/log.h"
#include "utils/Variant.h" #include "utils/Variant.h"
#define MAX_HTTP_POST_SIZE 65536 #define MAX_HTTP_POST_SIZE 65536
bool CHTTPJsonRpcHandler::CanHandleRequest(const HTTPRequest &request) const bool CHTTPJsonRpcHandler::CanHandleRequest(const HTTPRequest &request) const
{ {
return (request.pathUrl.compare("/jsonrpc") == 0); return (request.pathUrl.compare("/jsonrpc") == 0);
} }
int CHTTPJsonRpcHandler::HandleRequest() MHD_RESULT CHTTPJsonRpcHandler::HandleRequest()
{ {
CHTTPClient client(m_request.method); CHTTPClient client(m_request.method);
bool isRequest = false; bool isRequest = false;
std::string jsonpCallback; std::string jsonpCallback;
// get all query arguments // get all query arguments
std::map<std::string, std::string> arguments; std::map<std::string, std::string> arguments;
HTTPRequestHandlerUtils::GetRequestHeaderValues(m_request.connection, MHD_GET_ ARGUMENT_KIND, arguments); HTTPRequestHandlerUtils::GetRequestHeaderValues(m_request.connection, MHD_GET_ ARGUMENT_KIND, arguments);
if (m_request.method == POST) if (m_request.method == POST)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)