Hi group,
I am trying to develop a webDAV client as my project for a class and I have
started using CFHTTPMessage Reference Class.
The first problem was to authenticate the user with the webDAV server.
For that I have this code
authentication =
CFHTTPAuthenticationCreateFromResponse(NULL,responseHeaders);
success = CFHTTPMessageApplyCredentials(request, authentication,
CFSTR("username"), CFSTR("password"), &err);
if (success){
then do sth;
}
But now my problem is this,, every webDAV request has an Authorization field
in the header, so does any body know is there some function apple has
provided so that we can use the previous response and authentication values,
apply it to current request, apply this digest in the headers and then we
can send this request. This function will really help, because than I don't
have to take care of many things for e.g. qop="auth" and qop="auth-int".
Or somebody can throw some pointer about how to do this thing. Other
alternative way which I can think of is calculating this digest values
separatly and append these headers to the request.
Thanks
Arun
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---