CCPP Implementation

Hi,

  My name's Alan. The project we're doing involves
using CCPP Exchange Protocol. I would like to enquire
questions on appending to the request header:

1. For the Profile-diff-digest, I've managed to get
the MD5 part working but i'm still having problem with
the Base64 encoding. I've tried using the examples
given in the exchange protocol articles. I've seemed
to have gotten more than the 24 characters that all
the profile-diff digests in the examples seemed to
have. Is the number of characters in the profile-diff
digest fixed? Any place where i can get the Base64
coding in C/C++? When we encode the CC/PP
descriptions, do we need to include "\n" or is
everything in a long sequence?

2. When we append the complete profile, at which part
should we put in the CR/LF?

For example:

GET /example.htm HTTP/1.1 (CR/LF)
Opt: "http://www.w3.org/1999/06/24-CCPPexchange";
ns=19 (should we put CRLF here?)

19-Profile: "http://www.abc.com/default",
"1-sldknaevsxlskngaedqadf==" (should we put CRLF
here?)

Lastly, for the profile diff header value, should CRLF
be appended at the end (after </RDF>) or after each
line?

Thanks lot. Sorry bout the long mail!

regards,
Alan


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

Received on Thursday, 29 November 2001 20:58:46 UTC