public PactDslRequestWithoutPath withFileUpload ( String partName , String fileName , String fileContentType , byte [ ] data ) throws IOException { setupFileUpload ( partName , fileName , fileContentType , data ) ; return this ; }
Sets up a file upload request . This will add the correct content type header to the request