cefpython icon indicating copy to clipboard operation
cefpython copied to clipboard

CEF66.0 User-defined request exception

Open wangdongdong520 opened this issue 2 years ago • 1 comments

Hello, because I handle iframe cross-domain reasons, I implemented a python request custom request on the CEF project including ClientHandler, ResourceHandler, WebRequestClient classes. However, there is a problem, the SIZE of the browser response is 0 and the response display is incomplete, as shown in the figure: image

image

I already cleared ResourceHandler. ReadResponse points received by 2 times to 37216 characters. Print out to view is complete. So, any idea what to look for?

wangdongdong520 avatar Jun 29 '23 04:06 wangdongdong520

I just solved the problem of incomplete presentation of the response because of the accepted data type. I don't know why WebRequestClient OnDownloadData() I received data is a character type. Now, one small problem is that size is still 0

wangdongdong520 avatar Jun 29 '23 10:06 wangdongdong520