+Comment regarding RFC 1864 - "Content-MD5" canonalization.
authorshort <>
Mon, 19 Sep 2005 02:01:26 +0000 (02:01 +0000)
committershort <>
Mon, 19 Sep 2005 02:01:26 +0000 (02:01 +0000)
Web.pm

diff --git a/Web.pm b/Web.pm
index 07db01c..bc0b293 100644 (file)
--- a/Web.pm
+++ b/Web.pm
@@ -994,6 +994,7 @@ sub cache_finish()
        # as it will not provide the trailing filling '='s.
        # RFC 1864 is not clear but the same provides them.
        # FIXME: Should we somehow provide "\r\n" newlines for the text data? Which content is "text"?
+       #        Maybe it does not apply to HTTP as RFC 1864 targets mail/MIME.
        # ',""' to avoid breaking the headers by its default "\n".
        $headers_out{"Content-MD5"}=MIME::Base64::encode_base64($W->{"digest-md5"}->digest(),"");
        # In fact we could also use MD5 for ETag as if we know ETag we also know MD5.