Re: Alternative to stringWithContentsOfURL
Re: Alternative to stringWithContentsOfURL
- Subject: Re: Alternative to stringWithContentsOfURL
- From: Wim Lewis <email@hidden>
- Date: Tue, 27 Oct 2009 18:10:52 -0700
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 (email@hidden)
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:
This email sent to email@hidden