TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

URLs Are The Uniform Way to Locate Resources

54 点作者 Titanous大约 15 年前

5 条评论

pak大约 15 年前
I never liked the idea of putting passwords into URLs... it just gives people the wrong idea about how they should handle their password.<p>To me, URLs and passwords are orthogonal. One says "this is where it is", the other says "let me in please".
earle大约 15 年前
NO SHIT! This is the top link on Hacker News? Is this a fucking joke?<p>Why are -incorrect- cursory coverage of baseline RFCs Hacker News worthy?
评论 #1230994 未加载
评论 #1231097 未加载
krainboltgreene大约 15 年前
Except URI's aren't uniform. They're used in so many ways as to be confusing. For instance:<p>"git://github.com/thoughtbot/paperclip.git" vs "smtp://user:pass@hostname/domain" vs "<a href="http://news.ycombinator.com/user?id=krainboltgreene" rel="nofollow">http://news.ycombinator.com/user?id=krainboltgreene</a> vs "chrome://history/"<p>The user name appears in the path, the username section, and the query params. All of these are pretty "standard" uses. So while they might be called "uniform" the reality is absolutely different.
评论 #1230948 未加载
评论 #1230930 未加载
评论 #1231258 未加载
评论 #1231024 未加载
richcollins大约 15 年前
I don't see why the json format that he mentioned couldn't easily be made uniform through standard keys (protocol, port, host, path ... etc)
评论 #1231199 未加载
评论 #1231022 未加载
benkant大约 15 年前
Surprised you didn't know.