title: Netflix Feign Content type 'pplication/json;charset=UTF-8' not supported
body: <p>I'm using <a href="https://github.com/OpenFeign/feign" rel="nofollow">Netflix</a> Feign to make my java http clients, using a client like this:</p>
  
  <pre><code>public interface PromocodeClient {
  
  
  @Headers({
      "Content-Type:" + MediaType.APPLICATION_JSON_UTF8_VALUE, "userIdentifier: {userIdentifier}"
  })
  @RequestLine("POST /rootpath/{code}/unblock")
  Boolean unblock(
      @Param("userIdentifier") String userIdentifier,
      @Param("code") String promocode,
      BookingDTO booking);
  
  
  static PromocodeClient connect() {
      return Feign.builder()
          .encoder(new GsonEncoder())
          .decoder(new GsonDecoder())
          .target(PromocodeClient.class, Urls.SERVICE_URL.toString());
           //Url.SERVICE_URL = http://localhost:8082/1.0
  }
  </code></pre>
  
  <p>I'm getting an strange error</p>
  
  <pre><code>{
    "timestamp" : "2016-08-02T07:47:16.208+0000",
    "status" : 415,
    "error" : "Unsupported Media Type",
    "exception" : "org.springframework.web.HttpMediaTypeNotSupportedException",
    "message" : "Content type 'pplication/json;charset=UTF-8' not supported",
    "path" : "/1.0/rootpath/COD_PROMOCODE/unblock"
  } 
  }
  </code></pre>
  
  <p>The message says "Content type '<strong><em>pplication</em></strong>/json;charset=UTF-8' not supported" but I'm using the <code>MediaType.APPLICATION_JSON_UTF8_VALUE</code> of Spring which value is </p>
  
  <blockquote>
    <p>application/json;charset=UTF-8</p>
  </blockquote>
  
  <p>Anyone knows what is happening?</p>