Page not fully loading

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.

Re: Page not fully loading

Postby salvadordf » Wed Feb 17, 2021 7:01 am

I did some more tests in the demos that work and don't work and I saw a difference in the request headers for a resource called "settings" that returns a 404.

CEF uses "en-US,en;q=0.9" in the "accept-language" header by default. Set it to "sv" and this seems to fix this issue with the MiniBrowser demo.
Code: Select all
GlobalCEFApp.AcceptLanguageList := 'sv';


Sorry I didn't dig deeper when you asked the first time.
Maintainer of the CEF4Delphi, WebView4Delphi, WebUI4Delphi and WebUI4CSharp projects.
User avatar
salvadordf
Expert
 
Posts: 129
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain

Previous

Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 101 guests