On Oct 27, 2009, at 8:16 AM, Dave Carrigan wrote:
On Oct 27, 2009, at 8:11 AM, James Lin wrote:
I am still having the mysterious error of "Internal Error 500" message returned from stringWithContentsOfURL.

If "Internal Error 500" is the contents of the string after you create it using +stringWithContentsOfURL, then the problem is with the server, and changing to use something else is not going to change that fact.

Testing with "curl" would help determine whether the problem has anything to do with Cocoa at all. Not to mention checking the webserver's logs.

There's the possibility that this is related to RADAR 6700222 / 6932684 / 6936109 / 7169953 / etc.; this happens intermittently if the process of retrieving the URL involves an HTTP redirect. The data- garbling version of this bug appeared in 10.5.7 afaik. I don't know offhand if it's fixed now or not (my radar is still open, though).

My guess is it's a PHP problem and not a Cocoa problem, though.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to