"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xbmc/network/httprequesthandler/HTTPImageTransformationHandler.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").

HTTPImageTransformationHandler.cpp  (xbmc-18.7.1-Leia):HTTPImageTransformationHandler.cpp  (xbmc-18.8-Leia)
skipping to change at line 107 skipping to change at line 107
return false; return false;
// get the transformation options // get the transformation options
std::map<std::string, std::string> options; std::map<std::string, std::string> options;
HTTPRequestHandlerUtils::GetRequestHeaderValues(request.connection, MHD_GET_AR GUMENT_KIND, options); HTTPRequestHandlerUtils::GetRequestHeaderValues(request.connection, MHD_GET_AR GUMENT_KIND, options);
return (options.find(TRANSFORMATION_OPTION_WIDTH) != options.end() || return (options.find(TRANSFORMATION_OPTION_WIDTH) != options.end() ||
options.find(TRANSFORMATION_OPTION_HEIGHT) != options.end()); options.find(TRANSFORMATION_OPTION_HEIGHT) != options.end());
} }
int CHTTPImageTransformationHandler::HandleRequest() MHD_RESULT CHTTPImageTransformationHandler::HandleRequest()
{ {
if (m_response.type == HTTPError) if (m_response.type == HTTPError)
return MHD_YES; return MHD_YES;
// nothing else to do if this is a HEAD request // nothing else to do if this is a HEAD request
if (m_request.method == HEAD) if (m_request.method == HEAD)
{ {
m_response.status = MHD_HTTP_OK; m_response.status = MHD_HTTP_OK;
m_response.type = HTTPMemoryDownloadNoFreeNoCopy; m_response.type = HTTPMemoryDownloadNoFreeNoCopy;
 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)