protocol: respect provided mimetype in generated response headers
This commit is contained in:
parent
6615787775
commit
57c910faef
5 changed files with 57 additions and 1 deletions
|
@ -19,6 +19,9 @@ class URLRequestStringJob : public JsAsker<net::URLRequestSimpleJob> {
|
|||
// JsAsker:
|
||||
void StartAsync(scoped_ptr<base::Value> options) override;
|
||||
|
||||
// URLRequestJob:
|
||||
void GetResponseInfo(net::HttpResponseInfo* info) override;
|
||||
|
||||
// URLRequestSimpleJob:
|
||||
int GetData(std::string* mime_type,
|
||||
std::string* charset,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue