tent/tent.io — pull request #101 by longears (2012-10-04 08:51:53+00:00)
Title: Note that Link URLs can be either absolute or relative

@titanous mentioned this on the mailing list:

http://librelist.com/browser//tent.dev/2012/10/4/should-the-profile-link-always-be-absolute-or-is-relative-ok/#037cf4147ab37edefcf3fbca29d8a0e6

```
Yes, relative profile paths are totally valid.

Jonathan

On Oct 3, 2012, at 9:31 PM, Scott Feeney wrote:

> When you look at the profile link of a Tent.is-hosted user, it's an
> absolute URL:
>
> $ curl -sI https://graue.tent.is | grep Link
> Link: ;
> rel="https://tent.io/rels/profile"
>
> But every self-hosted server I've seen so far seems to use a relative URL:
>
> $ curl -sI https://ancient-refuge-6901.herokuapp.com | grep Link
> Link: ; rel="https://tent.io/rels/profile"
>
> Is this a bug? Or is, from the point of Tent, the relative URL
> perfectly valid?
>
> I'm learning towards "/profile is valid", since it certainly complies
> with the W3C's standard for the Link header:
> http://www.w3.org/wiki/LinkHeader ... and Tent docs don't say otherwise.
>
> But since there's been some confusion on this, I just want to make sure.
>
> Scott
```