[Webkit-unassigned] [Bug 70000] New: Requests for <video> & <audio> not using headers modified in "resource-request-starting" handler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 22:28:23 PDT 2011


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

           Summary: Requests for <video> & <audio> not using headers
                    modified in "resource-request-starting" handler
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jderose at novacut.com


I have a WebView subclass called CouchView that transparently adds a Basic Auth or OAuth header in a handler for the "resource-request-starting" signal:

http://bazaar.launchpad.net/~novacut/userwebkit/trunk/view/head:/userwebkit.py#L71

I'm using this for talking to desktopcouch.  It works great for everything except the source of <video> and <audio> elements.  Some debugging print() in CouchView shows that CouchView is definitely adding the correct header, but watching the CouchDB logs shows that the auth header isn't being sent to CouchDB.

My hunch is the reason for this is that GStreamer rather than WebKit is making these HTTP requests, and GStreamer must be getting the headers before the "resource-request-starting" handler.  Or something like that.

I'm happy to provide additional debugging info, although I'm not too WebKit savvy, so I'll need a bit of hand-holding.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list