mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add support for setting response header values (issue #246).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@246 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -123,9 +123,7 @@ public:
|
||||
virtual void GetResponseInfo(net::HttpResponseInfo* info) OVERRIDE {
|
||||
CefResponseImpl* responseImpl =
|
||||
static_cast<CefResponseImpl*>(response_.get());
|
||||
scoped_refptr<net::HttpResponseHeaders> headers(
|
||||
new net::HttpResponseHeaders(responseImpl->GenerateResponseLine()));
|
||||
info->headers = headers;
|
||||
info->headers = responseImpl->GetResponseHeaders();
|
||||
}
|
||||
|
||||
virtual bool IsRedirectResponse(GURL* location, int* http_status_code)
|
||||
|
Reference in New Issue
Block a user