LINK support #325

Closed
lsmith77 opened this Issue Nov 18, 2012 · 8 comments

Projects

None yet

5 participants

@lsmith77
Member

RFC 2068 was obsoleted by RFC 2616, thereby LINK is no longer part of the spec. however RFC RFC 5988 aims to define a LINK header.

related: #323, #288

@mvrhov
mvrhov commented Nov 18, 2012

aha. I knew I was right, when I said it's not in the specs anymore, but I was unable to find proper RFCs

@dupuchba

What is the alternative though? any support in the doc? #323 #288

@bmeynell

Alternative is to not use LINK at all and instead create a separate resource that serves as the link (similar to a m2m table).

@dupuchba

@bmeynell do you have any example? I don't get it...

@willdurand
Member

@dupuchba think about friendship between users, and how to add/remove friends.

@dupuchba

So I must use PATCH to add a user to the collection? @willdurand

@willdurand
Member

I would PUT the collection, or use LINK whatever the spec says.

@dupuchba

I have to say your listener in your tuto is quite impressive :) @willdurand ! Ithink we should close this issue then @lsmith77

@lsmith77 lsmith77 closed this Apr 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment