[webkit-dev] How to get mimeType for decidePolicyForResponse ??
contact.aneesh at gmail.com
Tue May 24 20:57:57 PDT 2011
On Wed, May 25, 2011 at 9:03 AM, <naren.mehra at gmail.com> wrote:
> Thanks for the response, Sam.
> On Tue, May 24, 2011 at 10:19 PM, Sam Weinig <weinig at apple.com> wrote:
>> It depends what port you are using,
> I am using WebKit2-GTK port.
> Any idea, how it can be done in that ?
> -- Naren
Adding webkit-gtk mailing list in the loop..
>> but the general idea is that you should be able to get a MIME type from the WKURLResponseRef. On the Mac for instance, we can get an NSURLReponse out of a WKURLResponseRef using WKURLResponseCopyNSURLResponse and copy the MIME type from that.
More information about the webkit-dev