zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

No way to pass extra headers to CreateBrowserSync #1225

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When creating a browser by CefBrowserHost::CreateBrowserSync(), there is no way 
to set additional headers to the underlying http request based on the url.

When looking at the code, CefBrowserHostImpl::Create() calls 
CefBrowserHostImpl::LoadURL() with an empty string for the extra_headers 
argument but should rather provide an extra_headers argument with default value 
empty string.

Original issue reported on code.google.com by yle...@gmail.com on 6 Mar 2014 at 7:21

GoogleCodeExporter commented 9 years ago
What extra headers do you want to set, and why?

Original comment by magreenb...@gmail.com on 13 Mar 2014 at 9:48

GoogleCodeExporter commented 9 years ago
We need to pass a basic authentication header.

Original comment by yle...@gmail.com on 17 Mar 2014 at 12:53

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1225

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:30