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.


>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.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:255378
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