- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 251 for readDirect (0.07 seconds)
-
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(reader.readLine()).isEqualTo("This is the new location!") val first = server.takeRequest() assertThat(first.requestLine).isEqualTo("GET / HTTP/1.1") val redirect = server.takeRequest() assertThat(redirect.requestLine).isEqualTo("GET /new-path HTTP/1.1") } /** * Test that MockWebServer blocks for a call to enqueue() if a request is made before a mock * response is ready. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
docs/ja/docs/how-to/custom-docs-ui-assets.md
`swagger_ui_redirect` 用の *path operation* は、OAuth2 を使用する場合の補助です。 API を OAuth2 プロバイダと統合すると、認証を実行して取得したクレデンシャルを持った状態で API ドキュメントに戻れます。そして実際の OAuth2 認証を用いてドキュメント上から API と対話できます。 Swagger UI がこの処理を裏側で行いますが、そのためにこの「redirect」の補助が必要です。 /// ### テスト用の *path operation* を作成 { #create-a-path-operation-to-test-it } すべてが動作するかをテストできるように、*path operation* を作成します: {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[36:38] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.5K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
when certificates matched but the DNS addresses did not. This would only occur when following a redirect from one hostname to another, and where both hosts had common certificates. * Fix: Don't fail on a redirect when a client has configured a 'trust everything' trust manager. Typically this would cause certain redirects to fail in debug and development configurations.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, fileName), this::asListHtml); } saveInfo(messages -> messages.addSuccessBulkProcessStarted(GLOBAL)); return redirect(getClass()); // no-op } /** * Import the file asynchronously. * @param fileName The file name. * @param tempFile The temporary file. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 32.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* this class separates _allocations_ from _streams_. An allocation is created by a call, used for * one or more streams, and then released. An allocated connection won't be stolen by other calls * while a redirect or authorization challenge is being handled. * * When the maximum concurrent streams limit is reduced, some allocations will be rescinded. * Attempting to create new streams on these allocations will fail. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
public void test_printStackTrace() { // Test printStackTrace doesn't throw exception DictionaryExpiredException exception = new DictionaryExpiredException(); try { // Redirect to ByteArrayOutputStream to avoid console output ByteArrayOutputStream baos = new ByteArrayOutputStream(); java.io.PrintStream ps = new java.io.PrintStream(baos); exception.printStackTrace(ps);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
assertEquals("/error/error.jsp", FessHtmlPath.path_Error_ErrorJsp.getRoutingPath()); assertEquals("/error/notFound.jsp", FessHtmlPath.path_Error_NotFoundJsp.getRoutingPath()); assertEquals("/error/redirect.jsp", FessHtmlPath.path_Error_RedirectJsp.getRoutingPath()); assertEquals("/error/system.jsp", FessHtmlPath.path_Error_SystemJsp.getRoutingPath()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
/** * Regression test for an edge case where closing response body in the HTTP engine doesn't release * the corresponding stream allocation. This test keeps those response bodies alive and reads * them after the redirect has completed. This forces a connection to not be reused where it would * be otherwise. * * * This test leaks a response body by not closing it. * * https://github.com/square/okhttp/issues/2409
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (1) -
cmd/utils.go
// for i, c := range via { // fmt.Printf("Sofar %d: %s %s\n", i, c.Method, c.URL.String()) // } // Save the last request in a redirect chain. lastReq = req // We do not follow redirect back to client application. if req.URL.Path == "/oauth_callback" { return http.ErrUseLastResponse } return nil } dexClient := http.Client{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0)