title: MULTIPART_FORM_DATA support for REST clients
body: <p>I'm quite to new <code>REST</code> webservice and using <code>Jersey</code> implementation of <code>JAX-RS</code>. </p>
  
  <p>My question is, if I create a webservice that accepts a file upload that  <code>@Consumes(MediaType.MULTIPART_FORM_DATA)</code>, then <code>@Consumes(MediaType.MULTIPART_FORM_DATA)</code> <code>MIME</code> type is capable of handling "file upload" request from any sort of client ? </p>
  
  <p>I can imagine the client can accomplish the call using <code>Java</code>, <code>.NET</code> and so on. But does <code>MIME</code> <code>MediaType.MULTIPART_FORM_DATA</code> type is supported in all possible calling clients. And of course, is it safe to assume that below file upload works for any sort of client ?</p>
  
  <pre><code> @POST
   @Consumes(MediaType.MULTIPART_FORM_DATA)
   @Produces(MediaType.APPLICATION_XML)
   public String uploadFile(@PathParam("fileName") final String fileName,
     @FormDataParam("userId") final int userId) {
    //.......
   }
  </code></pre>