Re: Re: Internet-Draft: JSON Hypertext Application Language
Dan Haywood <[email protected]>
| Newsgroups | gmane.comp.web.services.rest |
|---|---|
| Message-ID | <CALJOYLGV2W9GfKLQQsbZ8nuoY9RrgmQ+omXNLy4d6PsOK1HupQ@mail.gmail.com> |
On 11 June 2012 14:00, Mike Kelly <[email protected]> wrote: > Content-Type: application/hal+json;profile="com.mycompany.myapp.Order" > > > > Sure that's also possible. > > fwiw, I generally try to avoid putting app-specific things like this > in the headers because they "take more effort to get at", and > intermediaries can do nasty things with the headers which will > introduce bugs in your app. > > Genuine question: is that a likely possibility, that an intermediary would rewrite the Content-Type header and strip out parameters?