[webkit-gtk] NetworkRequest and NetworkResponse in WebKit2 API
Sergio Villar Senin
svillar at igalia.com
Tue Nov 15 02:46:24 PST 2011
En 15/11/11 11:08, Carlos Garcia Campos escribiu:
> I'm currently working on downloads API for WebKit2 and I need to expose
> NetworkResponse which is not wrapped in WebKit2 API yet. In WebKit1 we
> have WebKitNetworkRequest and WebKitNetworkResponse, which are mostly
> the same because a SoupMessage represents both a request and response.
> So, both NetworkRequest and NetworkResponse are just a URI and a
> SoupMessage. Thinking about how to expose them in WebKit2 API several
> ideas came to my mind:
In general I'd avoid exposing the SoupMessage basically because ideally
we will not need it in the future as it would become just an
implementation detail of the new libsoup stream API.
More information about the webkit-gtk