title: Jersey Client + Multipart form data + MessageBodyWriter issue
body: <p>I'm having an issue with a Multipart-form-data POST request using the Jersey Client API on Android. I've been following various examples on the web and they are all fairly similar in regards to the implementation.</p>
  
  <pre><code>Client client = createClientInstance();
  WebResource r = client.resource(BASEURL).path("DataUpload");
  ClientResponse post;
  try {
      FormDataMultiPart multiPart = new FormDataMultiPart();
      multiPart.field("account", account);
      multiPart.field("checksum", checksum);
      multiPart.bodyPart(new FileDataBodyPart("file", file, MediaType.APPLICATION_OCTET_STREAM_TYPE));
      post = r.type(MediaType.MULTIPART_FORM_DATA)
          .accept(MediaType.TEXT_PLAIN)
          .post(ClientResponse.class, multiPart);
  
  } catch (ClientHandlerException e) {
      Log.e(TAG, e.getLocalizedMessage());
  } finally {
      client.destroy();
  }
  </code></pre>
  
  <p>When I execute this code on my device, I am presented with an exception:</p>
  
  <pre><code>javax.ws.rs.WebApplicationException: java.lang.IllegalArgumentException: No MessageBodyWriter for body part of type 'java.io.File' and media type 'application/octet-stream'
  </code></pre>
  
  <p>I thought Jersey was supposed to handle File objects without any extra configuration. Removing the bodypart line will allow Jersey to make the request but that eliminates the point of this.</p>
  
  <p>I have these libraries on my buildpath (which were pulled in with Maven):</p>
  
  <ul>
  <li>jersey-client-1.14 </li>
  <li>jersey-core-1.14 </li>
  <li>jersey-multipart-1.14</li>
  <li>mimepull-1-6</li>
  </ul>