W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 2015

HTTP Spec: PUT without data transfer, since hash of data is known to server

From: Thomas Güttler <guettliml@thomas-guettler.de>
Date: Wed, 7 Oct 2015 08:06:05 +0200
To: w3c-dist-auth@w3.org
Message-ID: <5614B64D.9050802@thomas-guettler.de>
I  have seen a lot of useless uploads when syncing a local file system with a remote WebDAV server.

I thought about this and asked on stackoverflow.

My idea is to have a PUT which uses ETAgs or a ETag like way, so that the
data-transfer can be omitted if the server already knows the hash-sum of
the data.

I got a really good answer from someone who knows the HTTP-specs much
better than I do:


Maybe my goal is too high .... but I don't want to implement this. I want a official spec :-)

What do you think?

Could something like this become an official recommendation?

BTW, I can't decide about the **how** to implement this. My knowledge
of the http spec is too low at the moment.

At this moment I want to ask:

 - Is it possible at all to create a spec for http put which ommits
   the data, if the server knows the hash-sum (like depulicating file systems)?

 - If yes, then what is the next step?

PS: Of course the spec should be optional. The server can support it, but don't need to.

  Thomas Güttler

Received on Wednesday, 7 October 2015 07:16:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:46 UTC