Searched refs:redirect (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dredirector.py29 redirects. Returns the URL to the redirect, if any exist, or None.
46 redirect = rules.get(filename)
47 if redirect is None:
49 if (redirect.startswith('/') or
50 urlsplit(redirect).scheme in ('http', 'https')):
51 return redirect
53 return posixpath.normpath(Join(redirected_dirname, redirect))
74 redirect = redirects.get(posixpath.join(filename, '...'))
76 if redirect is None:
79 redirect
[all...]
H A Drender_servlet.py88 redirect = Redirector(
91 if redirect is not None:
94 if not redirect.startswith(('/', 'http://', 'https://')):
95 redirect = '/' + posixpath.join(serve_from, redirect)
96 return Response.Redirect(redirect, permanent=False)
105 # to redirect as though it were a file.
H A Dappengine_wrappers.py205 def redirect(self, path, permanent=False): member in class:IsDownloadError.webapp2.RequestHandler
/external/chromium_org/chrome/test/ispy/server/
H A Drebaseline_handler.py38 self.redirect('/?test_run=%s' % test_run)
H A Dupdate_mask_handler.py28 test. It will then delete the run it is applied to and redirect
59 self.redirect('/?test_run=%s' % test_run)
/external/chromium_org/third_party/webrtc/base/
H A Dasynchttprequest.h65 // Fail redirects to allow analysis of redirect urls, etc.
67 void set_fail_redirect(bool redirect) { fail_redirect_ = redirect; } argument
69 // Returns the redirect when redirection occurs
/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DRawResource.cpp62 RedirectPair redirect = redirectChain()[i]; local
63 ResourceRequest request(redirect.m_request);
64 client->redirectReceived(this, request, redirect.m_redirectResponse);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DJob.java147 Request redirect = processResponse(engine, response);
149 if (redirect == null) {
157 if (!sameConnection(request, redirect)) {
163 request = redirect;
207 // the user agent MUST NOT automatically redirect the request"
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DAssociatedURLLoaderTest.cpp443 // Test a same-origin URL redirect and load.
447 char redirect[] = "http://www.test.com/RedirectSuccess2.html"; // Same-origin local
448 KURL redirectURL = toKURL(redirect);
458 m_expectedRedirectResponse.setHTTPHeaderField("Location", redirect);
481 // Test that a cross origin redirect response without CORS headers fails.
486 char redirect[] = "http://www.other.com/RedirectCrossOriginWithAccessControlFailure.html"; // Cross-origin local
487 KURL redirectURL = toKURL(redirect);
493 // Create a redirect response without CORS headers.
498 m_expectedRedirectResponse.setHTTPHeaderField("Location", redirect);
507 // We should not receive a notification for the redirect o
518 char redirect[] = "http://www.other.com/RedirectCrossOriginWithAccessControlSuccess.html"; // Cross-origin local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DNavigationScheduler.cpp377 OwnPtr<ScheduledNavigation> redirect(m_redirect.release());
378 redirect->fire(m_frame);
382 void NavigationScheduler::schedule(PassOwnPtr<ScheduledNavigation> redirect) argument
398 m_redirect = redirect;
/external/chromium_org/tools/deep_memory_profiler/visualizer/
H A Dapp.py74 self.redirect('/?' + urllib.urlencode(req_params))
/external/llvm/lib/Support/Windows/
H A DProgram.inc254 MakeErrMsg(ErrMsg, "can't redirect stdin");
260 MakeErrMsg(ErrMsg, "can't redirect stdout");
264 // If stdout and stderr should go to the same place, redirect stderr
275 // Just redirect stderr
280 MakeErrMsg(ErrMsg, "can't redirect stderr");
/external/emma/core/java12/com/vladium/util/
H A DProperty.java509 final String redirect = (String) m_systemRedirects.get (key);
511 if (redirect != null)
513 result = getSystemProperty (redirect, null);
/external/smack/src/org/jivesoftware/smack/packet/
H A DXMPPError.java45 * <tr><td>302</td><td>redirect</td><td>MODIFY</td></tr>
329 public static final Condition redirect = new Condition("redirect"); field in class:XMPPError.Condition
396 instances.put(Condition.redirect, new XMPPError.ErrorSpecification(
397 Condition.redirect, Type.MODIFY, 302));
/external/chromium_org/chrome/browser/
H A Dreferrer_policy_browsertest.cc116 std::string RedirectTypeToString(RedirectType redirect) { argument
117 switch (redirect) {
135 // redirect: Whether the link target should redirect and how.
146 RedirectType redirect,
160 "&redirect=" + RedirectTypeToString(redirect) + "&link=" +
357 // Content initiated navigation, from HTTP to HTTP via server redirect.
368 // Content initiated navigation, from HTTPS to HTTP via server redirect.
379 // User initiated navigation, from HTTP to HTTP via server redirect
143 RunReferrerTest(const blink::WebReferrerPolicy referrer_policy, StartOnProtocol start_protocol, LinkType link_type, RedirectType redirect, WindowOpenDisposition disposition, blink::WebMouseEvent::Button button, ExpectedReferrer expected_referrer) argument
[all...]
/external/llvm/lib/Support/Unix/
H A DProgram.inc224 // Just redirect stderr
228 // If stdout and stderr should go to the same place, redirect stderr
231 return !MakeErrMsg(ErrMsg, "Can't redirect stderr to stdout", Err);
280 // If stdout and stderr should go to the same place, redirect stderr
283 MakeErrMsg(ErrMsg, "Can't redirect stderr to stdout");
287 // Just redirect stderr
/external/mockwebserver/src/test/java/com/google/mockwebserver/
H A DMockWebServerTest.java132 RecordedRequest redirect = server.takeRequest();
133 assertEquals("GET /new-path HTTP/1.1", redirect.getRequestLine());
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
H A Dindex.php121 // This section performs the OpenID dance with the normal redirect. Use it
147 $redirect = $_SESSION['redirect_to']; variable
149 header('Location: ' . $redirect);
/external/openssl/crypto/threads/
H A Dnetware.bat9 rem want to redirect stdout and stderr. An example command line would be
/external/chromium_org/media/tools/constrained_network_server/
H A Dcns.py240 cherrypy.lib.cptools.redirect(constrained_url, internal=False)
272 cherrypy.lib.cptools.redirect(redirect_url, internal=False)
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
H A DMockWebServerTest.java192 RecordedRequest redirect = server.takeRequest();
193 assertEquals("GET /new-path HTTP/1.1", redirect.getRequestLine());
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dsessionmessages.h240 SessionRedirect* redirect);
H A Dsession.cc1314 // If the error is a session redirect, call OnRedirectError, which will
1316 SessionRedirect redirect; local
1317 if (FindSessionRedirect(error_stanza, &redirect)) {
1319 if (!OnRedirectError(redirect, &error)) {
1323 desc << "Failed to redirect: " << error.text;
1527 bool Session::OnRedirectError(const SessionRedirect& redirect, argument
1534 if (!BareJidsEqual(remote_name(), redirect.target))
1538 // When we receive a redirect, we point the session at the new JID
1540 set_remote_name(redirect.target);
/external/chromium_org/chrome/browser/content_settings/
H A Dcontent_settings_browsertest.cc237 GURL test_url = test_server()->GetURL("files/redirect-loop.html");
269 // Tests that if redirect across origins occurs, the new process still gets the
277 std::string redirect(base::StringPrintf(
278 "http://localhost:%d/files/redirect-cross-origin.html",
280 GURL test_url = test_server()->GetURL("server-redirect?" + redirect);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DSyncApiTest.java175 @Test public void redirect() throws Exception { method in class:SyncApiTest

Completed in 6882 milliseconds

12