httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Nagaraj <n.dee...@gmail.com>
Subject Re: network byte ordering in "ContentDigest"?
Date Mon, 21 Dec 2009 14:07:04 GMT
On Mon, Dec 21, 2009 at 7:02 PM, Olaf van der Spek <olafvdspek@gmail.com> wrote:
> On Mon, Dec 21, 2009 at 2:20 PM, Deepak Nagaraj <n.deepak@gmail.com> wrote:
>> Hi,
>>
>> The "ContentDigest" option does not seem to convert the MD5 to network
>> byte order before doing base64 encoding.  The RFC says:
>
> It's 16 bytes, what reordering did you want to do? Byte order only
> applies to stuff larger than individual bytes.
>
The RFC considers it as a 128-bit "digest" (=number).  It can be
divided into 16 bytes in either host order or network order.  Because
the RFC says "when viewed in network order", it implies that we need
to do host-to-network conversion.  This is the conversion I'm
referring to.

-deepak

Mime
View raw message