On Fri, Sep 7, 2012 at 5:18 AM, Mike Kelly <
mikeke...@gmail.com> wrote:
> On Fri, Sep 7, 2012 at 11:57 AM, Jon Moore <
jo...@jjmoore.net> wrote:
>> On Sep 7, 2012, at 6:14 AM, Mike Kelly <
mikeke...@gmail.com> wrote:
>>> Aside from all that, Link headers aren't that easy to work with since
>>> the tool support is relatively thin on the ground,
I find them quite easy to work with, personally.
>> But we're willing to write code to parse the links out of a media type?
>
> parsing JSON is trivial in most languages. If your media type is well
> designed getting the links out should also be equally trivial.
Parsing link headers is also trivial. But with header i only have to
write and maintain that code once, rather than once per media type.
That setting doesn't effect the response header, does it? In my
experience the response is where most link header fields go, not the
request.
Also, that setting seems to limit the size of individual header
fields, not the header as a whole. So each link field in the header
would be prevented from exceeding 8k. My links are rarely that large.
:)
I have never experienced, nor have i heard of anyone else experiencing
*any* issues related to intermediates messing with or stripping entity
header fields. I would be *shocked* if i ever do. Any intermediate
that did so would, imo, be inexcusably broken.
Peter
barelyenough.org