- From: Laurent Demailly <dl@hplyot.obspm.fr>
- Date: Thu, 2 Nov 1995 19:48:30 +0100
- To: Dave Raggett <dsr@w3.org>
- Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Dave Raggett writes: [...] > 11) Defined semantics for metainformation > o Title, Link, Base, Content-MD5, Content-Language, etc. *********** Sorry If I'm completly off base but could this be changed into "Content-Checksum:". I'd rather not tie MD5 particular *algorithm* to the general 'checksum' *functionality*, (just in case MD6 pops out in few monthes for instance...) {Though I currently use MD5 as the algorithm currently} *** "a la draft" definition: Content-Checksum = "Content-Checksum" ":" 1#(checksum) checksum = checksum-algorithm "=" checksum-value checksum-algorithm = "MD5" | extension-algo (you can define new checksums, like MD4, MD6 (!) unix sum,...) for algorithm MD5 : checksum-value = 32 characters hex ascii coded MD5 checksum for instance for a message content of "this is a test\n" you get : --------- HTTP/1.0 200 Document follows Server: datasrv/dl2.6d99 Last-Modified: Mon, 16 Oct 1995 15:42:06 GMT Content-Type: text/plain Content-Length: 15 Content-Checksum: MD5=e19c1283c925b3206685ff522acfe3e6 this is a test --------- *** Ps : yes I know there is an RFC about Content-MD5 Mime header, but it is wrong imo (because it is a too general thing to be tied to a particular algorithm,...) dl -- Laurent Demailly * http://hplyot.obspm.fr/~dl/ * Linux|PGP|Gnu|Tcl|... Freedom Prime#1: cent cinq mille cent cinq milliards cent cinq mille cent soixante sept SEAL Team 6 Greenpeace plutonium fissionable Chirac supercomputer Treasury
Received on Thursday, 2 November 1995 10:54:19 UTC