[Webkit-unassigned] [Bug 143835] New: WebResource get_data_finish returning an empty string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 16 11:44:53 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=143835

            Bug ID: 143835
           Summary: WebResource get_data_finish returning an empty string
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zeroSteiner at gmail.com

Created attachment 250934
  --> https://bugs.webkit.org/attachment.cgi?id=250934&action=review
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150416/848d39c2/attachment.html>


More information about the webkit-unassigned mailing list