Access to the web server from the webkit client written in haskell reflex-dom

This is the next question Accept the servant server with the reflex-dom client :

If I run the client code in a web browser, everything works fine. However, if I run client code in webkit under gtk3 (and Debian), I can see the request on the server, but the client does not receive any response.

I assume this is again a security issue or CORS. I found this post How to disable cross origin reequest in webkit gtk since 2012 saying this is not possible due to this error https://bugs.webkit.org/show_bug.cgi?id=58378 . If I look at this error, it says: Status: RESOLVED FIXED. The second answer mentioning SO post shows some settings in an unspecified file.

My question is: Where (directory and file) do I need to specify that in order to access the server from the WebkitGtk client.

+5
source share

Source: https://habr.com/ru/post/1265227/


All Articles