Why PreAuthenticate is not enabled by default?

Posted by dr. evil on Stack Overflow See other posts from Stack Overflow or by dr. evil
Published on 2010-03-27T12:56:41Z Indexed on 2010/03/27 13:03 UTC
Read the original article Hit count: 589

As far as I understand WebRequest.PreAuthenticate is almost always good.

If I enable it even when there is no credential it won't try to authenticate, if there is a credential it'll. So is there any legitimate reason to set it False? Or is it OK to set it True even when there is no credentials?

And since it's quite useful why it's not enabled by default just like many other HTTP features?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about preauthenticate