What does Indy's HandleRedirect do?

Posted by Robert Frank on Stack Overflow See other posts from Stack Overflow or by Robert Frank
Published on 2010-05-26T22:40:41Z Indexed on 2010/05/27 4:01 UTC
Read the original article Hit count: 244

Filed under:
|

I'm having some trouble reading files with Indy from a site that has WordPress installed.

It appears that the site is configured to redirect all hits to sitename/com/wordpress.

Can I use HandleRedirect to turn that off so I can read files from the root folder?

What is the normal setting for this property? Any downsides to using it for this purpose?

(Edit: it appears that my problem may be caused by Windows cacheing of a file I've accessed before through Indy. I'm using fIDHTTP.Request.CacheControl := 'no-cache'; is that adequate?

© Stack Overflow or respective owner

Related posts about delphi

Related posts about indy