On 10/4/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote:
> Rob Wilkerson wrote:
> >
> > I'm trying to retrieve an RSS feed from an Apache web server.  The
> > feed is secured by htdigest authentication.  My CFHTTP call is failing
> > even with the username and password I'm passing (which are correct).
> > In reading the docs, I can see that this method of using cfhttp only
> > supports basic authentication so I'm wondering:
> >
> > 1.  What exactly is the difference between basic auth and htdigest?
>
> See RFC 2617.

Will do.

> >2.  Is there any way to access these feeds via cfhttp?
>
> I think you can roll your own authentication mechanism. When the request 
> fails, do you have access to the structure with HTTP headers and do you see a 
> WWW-Authenticate header? If so, you can use that to calculate the right hash 
> and do a new cfhttp call with the hash in the header.

Hmmm.  Don't know that I need to do it quite *that* bad, but I
appreciate the insight.  If the powers that be decide this is a higher
priority than I think it is, I just might have to do it this way.

Thanks for your help.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255443
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to