mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- Add cache awareness to CefURLRequest (issue #2283)
- Properly set referer values on server requests (issue #2278)
This commit is contained in:
@@ -966,6 +966,7 @@ class StaticHttpRequestRunner : public HttpTestRunner::RequestRunner {
|
||||
CefRefPtr<CefRequest> request = CreateTestServerRequest(
|
||||
path, "POST", "foo=bar&choo=too", "application/x-www-form-urlencoded",
|
||||
request_headers);
|
||||
request->SetReferrer("http://tests/referer.html", REFERRER_POLICY_DEFAULT);
|
||||
|
||||
HttpServerResponse response(HttpServerResponse::TYPE_CUSTOM);
|
||||
response.response_code = 202;
|
||||
|
Reference in New Issue
Block a user