• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Webkit and image redirects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Webkit and image redirects


  • Subject: Webkit and image redirects
  • From: Rod Schmidt <email@hidden>
  • Date: Sun, 13 Jul 2008 10:49:22 -0600

I have an embedded webkit in my app. In my HTML that I display in the webview I have an image that refers to an image a Backpack web page. In Safari when you type in the URL for this image it gets redirected to another image that is stored on the Amazon web service. However, in my webview the image doesn't get redirected and hence doesn't get displayed. Here's what I get back in the response header fields:

    "Cache-Control" = "no-cache";
    Connection = "Keep-Alive";
    "Content-Length" = 1712;
    "Content-Type" = "text/html; charset=utf-8";
    Date = "Sun, 13 Jul 2008 16:35:08 GMT";
    "Keep-Alive" = "timeout=5, max=63";
    Server = "Mongrel 1.1.5";
    Status = "404 Not Found";

You can see that I get back a not found error and the content I get back is basically an error page saying I entered the wrong URL.

I'm guessing I'm missing something but I don't know what that is. Maybe Authentication? When I enter the URL in Safari it works without any Authentication. Maybe some cookies are missing?

Can anybody give me some ideas and/or point me to some docs that might help.

Thanks,

Rod Schmidt
infiniteNIL Software
_______________________________________________

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


  • Follow-Ups:
    • Re: Webkit and image redirects
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: garbage collection and NSConnection
  • Next by Date: Re: Triangulating webcams
  • Previous by thread: Re: Responder Chain Patching
  • Next by thread: Re: Webkit and image redirects
  • Index(es):
    • Date
    • Thread