added JPEg to qgshttprequesthandler