title: Hapi, Error 415 : Unsupported Media Type error
body: <p>I am trying to send a json object <code>feedData</code> to the server. This object has a File Object inside of it.</p>
  
  <pre><code>feedData = {
      'title' : 'some title',
      'type' : 1,
      'feedBody' : {
          'image' : File Object {lastModified : xxxx, name : 'image.jpg', type: 'image/jpg', ... }
      }
  }
  
  return fetch(`/api/feeds/${feedId}/create`, {
      method: 'POST',
      body: JSON.stringify(feedData),
      headers: {
          'Authorization': getTokenHeader(token),
      },
  })
  </code></pre>
  
  <p>In routes I have ,</p>
  
  <pre><code>method: 'POST',
  path: '/api/feeds/{feed}/create',
  config: {
      payload: {
          output: 'stream',
          parse: true,
          allow: ['application/json', 'multipart/form-data', 'image/jpeg', 'application/pdf', 'application/x-www-form-urlencoded'],
          maxBytes: 1024 * 1024 * 100,
          timeout: false
      },
      handler: (req, res) =&gt; {
          const params = { token: req.auth.token, ...req.params };
          const payload = req.payload;
          console.log('HAPI ', payload);
      },
      auth: {
          strategy: 'jwt-strict',
          mode: 'required'
      }
  }
  </code></pre>
  
  <p>I get back an error </p>
  
  <pre><code>http://localhost:3000/api/feeds/feed/create 415 (Unsupported Media Type)
  </code></pre>
  
  <p>What am I doing wrong?</p>