WebKitDownload was written before we had WebKitNetworkResponse, so some functionality, such as accessing the response headers is still missing up to now. By using, and exposing a WebKitNetworkResponse object, we can fix this.
Created attachment 41826 [details] Use WebKitNetworkResponse Here's my proposed solution.
Comment on attachment 41826 [details] Use WebKitNetworkResponse Awesomesauce.
Landed as r50060.