Check Content-Type in RequestAdapter before assuming multipart