Add doc about trailing slashes#265
Conversation
|
@rawleyfowler Thanks! Could you do a brief search for a better resource on this than the SO thread I linked in #244? Rather than explaining this in Dream's docs, I'd like to briefly mention it in one sentence, and link the interested user to a more extensive discussion somewhere else. Perhaps even one of the HTML RFCs says something directly about this. I'd basically like to warn the user that this difference exists, but let the reasoning be given in detail elsewhere. |
|
BTW we can also merge this PR and open a separate issue in case someone else is able to offer a reference later! |
|
@aantron I'll fix it up, sorry it was 2AM when you replied originally :) |
|
@aantron Should be good-to-go, RFC 1738 Section 3.3 has us covered! |
|
Thanks. RFC 1738 doesn't seem to really say anything about this issue, neither in section 3.3, nor elsewhere. Section 3.3: So far, the closest was I found was RFC 3986 but it's way too arcane to use as a reference in Dream's docs. There is this SO answer that mentions it. The answer above that mentions the difference in a different way, and vaguely mentions how relative links are interpreted differently in the two cases. I don't really see a clear reference on the difference yet that mentions all these things in an understandable way. I think it's fine to merge without it, I just wanted to see if something like that exists online :) |
|
Yeah I looked around, there isn't much. There is a Wikipedia article but I don't know how I feel about linking that, as it doesn't cover a lot either. Maybe we can merge now and at-least have it mentioned then see if something nicer comes around later. |
|
How do we feel about linking the issue in the docs? |
|
That might be a good idea. Perhaps the comment I wrote here is (unsurprisingly) what I am looking for as something to link to, sadly no more detailed such thing seems to exist. |
|
@aantron Hopefully it's good to go now! |
|
Many thanks! |
fixes #244