Response header access in cef 3

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Response header access in cef 3

Postby mezdej » Mon Jun 30, 2014 3:55 am

Hi,

What I need is access to response headers (something like OnResourceResponse in cef 1 and I don't need access to content).
I already tried to use hack (like in cefpython) to emulate this call (OnResourceResponse) but it's not working well for me (probably my fault).
I know about existing issue 515.

Is it possible to do this in other way?
Will this be completed in short time or just i need to download source and build libcef and try to fix it?
mezdej
Techie
 
Posts: 31
Joined: Tue Oct 22, 2013 3:56 am

Re: Response header access in cef 3

Postby eren » Thu Jul 10, 2014 9:11 am

magreenblatt wrote:To get the response header (as a CefResponse) you'll need to use CefURLRequest to filter responses as demonstrated here: viewtopic.php?f=6&t=10794. To get the request header (as a CefRequest) you can implement CefRequestHandler::OnBeforeResourceLoad.

Or, you might just want to use the Network tab in DevTools.
CEF v3.1650.1567_windows32
eren
Techie
 
Posts: 25
Joined: Mon Feb 03, 2014 8:11 am

Re: Response header access in cef 3

Postby magreenblatt » Thu Jul 10, 2014 9:15 am

You can build locally and try the patch from https://code.google.com/p/chromiumembed ... il?id=1327.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: civilogic and 86 guests