Request Method: OPTIONS not working in cefsharp Chromiumbrowser 71.0.0

29 views
Skip to first unread message

it4970...@gmail.com

unread,
Apr 25, 2019, 1:40:36 PM4/25/19
to CefSharp
Hello,

i have a problem with my simple Windows Forms App. The app is inteded to only fit our "Docuware Web Browser" to Single and Multimonitor Workplaces.
Everything works fine except some xhr requests against a local installed app (Docuware Desktop Apps) which handles printing and mailing of the documents in Browser.
When i send it from Chrome Browser everything is working fine. On my windows Forms app it seems to cut request with type "OPTIONS". (I guess this is what stops functionality)
I have no control over the Javacript code and the webpage code in general.
Here are some Screenshots of Chrome debugger:
1. Chrome Browser

2.CEF


2.CEF


Im no Web Programmer so its just a wild guess, perheps its a limitation of CEF or the root cause is something else.
Perhaps someone can help me to find the right direction.
this is my initialization of the browser, as u can see i tried to implement Irequesthandler, still with no luck.
       wbclient = New ChromiumWebBrowser(url) With {
           
.Dock = DockStyle.Fill
       
}
        wbclient
.BrowserSettings.LocalStorage = CefState.Enabled
        wbclient
.BrowserSettings.FileAccessFromFileUrls = CefState.Enabled
        wbclient
.BrowserSettings.UniversalAccessFromFileUrls = CefState.Enabled
        wbclient
.BrowserSettings.WebSecurity = CefState.Disabled
        wbclient
.RequestHandler = New REQhand
        wbclient
.LifeSpanHandler = life


I hope this is enough information for the first steps.

Thx in advance

Niklas

Reply all
Reply to author
Forward
0 new messages