multipart file upload related bug

removal of bug related to upload of multipart file (in scenario where
only file parameter is added to HttpRequestWithBody.