Fix a problem that request does not send imagedata