title: Fine Uploader and ServiceStack setting Response headers
body: <p>I am trying to use ServiceStack as an endpoint of Fine Uploader to upload some files. Because of a nasty behaviour with IE if the response is set to content type json/application ie prompts to download the rseponse as reported here:</p>
  
  <p><a href="https://stackoverflow.com/questions/8151138/ie-jquery-form-multipart-json-response-ie-tries-to-download-response">IE tries to download json response while submitting jQuery multipart form data containing file</a></p>
  
  <p>How can I force ServiceStack to respond as text/plain. I am trying this:</p>
  
  <pre><code> public class UploadFileService : Service
      {
          [AddHeader(ContentType = "text/plain")]
          public object Any(UploadFile request)
          {
              foreach (var uploadedFile in base.RequestContext.Files)
              {
                  var test = uploadedFile.FileName;
              }
              return new UploadFileResponse{ Success = true};
          }
      }
  </code></pre>
  
  <p>But Service stack when using the endpoint: </p>
  
  <pre><code>/api/UploadFile?format=json
  </code></pre>
  
  <p>Still returns the content type as application/json</p>
  
  <p>Any Ideas?</p>
  
  <p>Thanks</p>