title: Spring WebClient unsupported Content-Type
body: <p>I am starting to use Spring WebClient to send requests to external services.
  One of those services, not under my control, responds in Json, but has the Content-Type "text" in the response headers.</p>
  
  <pre><code>status: 200
  server: nginx/1.12.2
  date: Tue, 13 Nov 2018 01:48:23 GMT
  content-type: text
  </code></pre>
  
  <p>This makes the WebClient fail with the following exception when I call either <code>bodyToMono(String.class)</code> or <code>toEntity(String.class)</code>:</p>
  
  <pre><code>Caused by: org.springframework.util.InvalidMimeTypeException: Invalid mime type "text": does not contain '/'
  </code></pre>
  
  <p>I am trying to see my options here, and I see none.
  I am not able to change the header on the fly (I saw this post: <a href="https://stackoverflow.com/questions/48553242/reactive-webclient-get-request-with-text-html-response">Reactive WebClient GET Request with text/html response</a> but it does not work)
  I am not able to make WebClient accept a mime-type that has no /.</p>
  
  <p>Can anybody help?</p>