James M Snell schrieb:
I've updated the pace to reflect the recent discussion
http://www.intertwingly.net/wiki/pie/PaceSlugHeader
#pragma section-numbers off
== Abstract ==
Alternative to PaceMinimalSlug that uses an HTTP header instead
(therefore, it works for media posts as well as entry posts).
For draft-09...
== Status ==
Proposed
== Rationale ==
Same rationale as PaceMinimalSlug: "Many existing weblog software
implementations allow clients to request specific URI content entries.
APP should also support this capability"
== Proposal ==
{{{
8.5 Slug: Header
When posting a resource to a collection in order to add a new member, a
client MAY include a Slug request header. This constitutes a request by
s/MAY/may/. Clients may include any request header anyway. This doesn't
require RFC2119 terminology.
the client that the URI assigned to the new resource incorporate the
string provided in the value of the Slug header. Server implementations
MAY attempt to comply with the request.
See above.
For example,
POST /myblog/fotes HTTP/1.1
Host: example.org
Content- Type: image/png
Content- Length: nnnn
Slug: a_picture_of_my_house
...binary data...
The syntax of this header MUST conform to the augmented BNF grammar in
section 2.1 of the HTTP/1.1 specification [RFC2616]. The [TEXT] rule is
described in section 2.2 of the same document. Words of *TEXT MAY
contain characters from character sets other than [ISO88591] only when
encoded according to the rules of [RFC2047].
In which case they don't contain those characters. Again: just refer to
the appropriate specs and give an example(!!!).
...
Best regards, Julian