W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2002

Re: Interest in standardizing Batch methods?

From: Erik Seaberg <erk@flyingcroc.com>
Date: 09 Jan 2002 10:52:33 -0800
To: w3c-dist-auth@w3.org
Message-ID: <86ofk39x1q.fsf@unx51.staff.flyingcroc.net>
Juergen Pill <Juergen.Pill@softwareag.com> writes:

> This BATCH method would open the door into a BATCH language, e.g. execute
> request #2 only if request #1 results in a 200/OK response code.

RFC 2616 already has a (non-XML) encoding for a series of requests or
responses, and each request could have an ID that dependent requests
can check the state of:

	Host: www.example.com
	Content-Type: application/http
	Transfer-Encoding: chunked
	MKCOL /foo HTTP/1.1
	Host: www.example.com
	Request-Id: <cid:mkcol23952639587@client.example.com>
	Authorization: Digest response="..."
	PUT /foo/bar HTTP/1.1
	Host: www.example.com
	Content-Type: text/plain
	Authorization: Digest response="..."
	If: <cid:mkcol23952639587@client.example.com> (["2xx"])
	hello world

Microsoft's approach of applying a common request to each of several
resources also handles the basic performance problem and is probably
simpler to implement, though moving it from custom bodies up to HTTP
(for example, use "*" as the Request-URI and put a list of resources
in a "Request-URIs:" header) would make it more reusable.
Received on Wednesday, 9 January 2002 13:53:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:24 UTC