In the specification I read (and implemented) that the
Content-Type header for both client and server MUST be
Now, here’s my question. When I’m uploading a file along with a JSON document, the only content-type I can foresee to use is the
multipart/form-data, which seems to be conflicting with the specs.
Am I thinking it wrong? How can I fix this problem?