[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] Refactor digest authentication in url-auth
From: |
Yuri Khan |
Subject: |
Re: [PATCH 1/2] Refactor digest authentication in url-auth |
Date: |
Mon, 14 Nov 2016 10:34:18 +0600 |
On Mon, Nov 14, 2016 at 10:42 AM, Eli Zaretskii <address@hidden> wrote:
>> > GNU coding standards frown on using "path" for anything but PATH-style
>> > directory lists. Please use "file name" or "directory name" instead.
>>
>> Good to know. Is there a convention to indicate path part in URIs?
>
> Not that I know of. I'd use "file-name part".
To a network application developer, “path” is a domain[^1] term (RFC
3986 § 3.3) and any replacement would be surprising and hinder API
discoverability. URIs don’t even necessarily map to files, so the
replacement proposed above is, in addition, misleading.
[^1]: “domain” as in “business domain”, not “domain name system”.
Please consider “URI path” if you must disambiguate.
[PATCH 2/2] Initial implementation for HTTP Digest qop for url, Jarno Malmari, 2016/11/13