Bug 30758
| Summary: | [GTK] unable to change SoupMessage received from resource_request_get_message() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexander Butenko <a.butenka> |
| Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | gustavo, jmalonzo |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Alexander Butenko
static void
web_cache_resource_request_starting_cb (WebKitWebView* web_view,
WebKitWebFrame* web_frame,
WebKitWebResource* web_resource,
WebKitNetworkRequest* request,
WebKitNetworkResponse* response,
MidoriExtension* extension)
{
..
SoupMessage *msg = webkit_network_request_get_message (request);
soup_message_headers_append (msg->request_headers, "If-Modified-Since", "Wed, 07 Jun 2006 19:38:24 GMT");
..
}
If you will dump http transaction with WEBKIT_DEBUG=Network or wtih ngrep, If-Modified-Since will be never sent.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexander Butenko
Sorry for a noise. Please close this bug as invalid. One more test showed that it was mine fault.
Jan Alonzo
As requested.