NEW 143835
WebResource get_data_finish returning an empty string
https://bugs.webkit.org/show_bug.cgi?id=143835
Summary WebResource get_data_finish returning an empty string
Spencer
Reported 2015-04-16 11:44:53 PDT
Created attachment 250934 [details] Bug demonstration I'm using WebKit2GTK+ in Python using GObject introspection on Fedora 21 using the webkitgtk4 package. My application is trying to access the data from the WebResource using get_data and get_data_finish. For certain resources get_data_finish will return an empty string. However for the same resource WebResource.get_response().get_content_length() returns the valid and expected length of the data that I am trying to retrieve. The request to the affected resource is made through javascript and the resource itself is an XML file. These details are a bit vague so I included a python script that reproduces the error. Running demo.py from the attached tarball will load the two resources in the webroot directory. The config.xml file will have an invalid length of 0 while the content length will be correct.
Attachments
Bug demonstration (1.15 KB, application/x-bzip)
2015-04-16 11:44 PDT, Spencer
no flags
Note You need to log in before you can comment on or make changes to this bug.