Re: Is it correct to respond with partial representation for low capabilities media-types?

Philippe Rathé <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <CAE-VBsD=_3GUq269kKusVgCcier-Dr_f0sqtgQWd0REcr3ZpUw@mail.gmail.com>
Roy answered my question in a tweet:
https://twitter.com/fielding/status/223203573146718210

    "Hypertext as the engine of application state is a systemic constraint.
     Syntax doesn't matter. What you do with the syntax matters,"

I've always seen the Hypermedia in HATEOAS, in the context of HTTP as being
restrained to the hypermedia document in the response body. But now I use
to think that the whole response including the response's header can also
possibly form an hypermedia.

On Sun, Jun 24, 2012 at 12:58 PM, Philippe Rathé <[email protected]> wrote:

> Hi Roy, nice to see you here,
>
> In the context of HTTP, does the presence of hypermedia controls in the
> header of a representation which media-type isn't an hypermedia can still
> make HATEOAS possible?
>
> -- Philippe
>
> On Thu, Jun 21, 2012 at 3:19 AM, Roy T. Fielding <[email protected]>wrote:
>
>> **
>>
>>
>> On Jun 20, 2012, at 8:33 PM, Philippe Rathé wrote:
>>
>> > By the way, does somebody know if an http header is considered part of
>> > the representation from a REST POV? Because it is possible to define
>> > link relations in the header response without it being in the
>> > "metadata body container".
>>
>> Yes, for those header fields that are not defined as control data
>> (like Cache-control) or message metadata (like Transfer-Encoding).
>>
>> ....Roy
>>
>>  
>>
>
>


-- 
Philippe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.