- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 342 for routes (0.14 seconds)
-
tests/test_include_router_defaults_overrides.py
callbacks=callback_router4.routes, deprecated=True, ) router4_default = APIRouter() @app.get( "/override1", tags=["path1a", "path1b"], responses={ 401: {"description": "Client error level 1"}, 501: {"description": "Server error level 1"}, }, deprecated=True, callbacks=callback_router1.routes, dependencies=[Depends(dep1)],Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 385.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
server.enqueue(MockResponse.Builder().onRequestStart(CloseSocket()).build()) client = client .newBuilder() .dns(DoubleInetAddressDns()) // Two routes so we get two failures. .build() val request = Request(server.url("/")) assertFailsWith<IOException> { client.newCall(request).execute() }.also { expected ->
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jun 20 11:46:46 GMT 2025 - 8.4K bytes - Click Count (0) -
docs/changelogs/changelog_4x.md
automatically retry on an unshared connection. * Fix: Don't crash if a TLS tunnel's response body is truncated. * Fix: Don't track unusable routes beyond their usefulness. We had a bug where we could track certain bad routes indefinitely; now we only track the ones that could be necessary. * Fix: Defer proxy selection until a proxy is required. This saves calls to `ProxySelector` on
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/suggest/request/suggest/SuggestRequest.java
// Create a new list to avoid modifying the original roles list final List<String> rolesWithDefault = new ArrayList<>(roles.size() + 1); rolesWithDefault.addAll(roles); if (!rolesWithDefault.contains(SuggestConstants.DEFAULT_ROLE)) { rolesWithDefault.add(SuggestConstants.DEFAULT_ROLE); } filterList.add(buildFilterQuery(FieldNames.ROLES, rolesWithDefault)); if (!fields.isEmpty()) {Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.5K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
* Fix: Gracefully shut down the HTTP/2 connection before it exhausts the namespace of stream IDs (~536 million streams). * Fix: Never pass a null `Route` to `Authenticator`. There was a bug where routes were omitted for eagerly-closed connections. ## Version 3.9.1 _2017-11-18_ * New: Recover gracefully when Android's DNS crashes with an unexpected `NullPointerException`.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
fastapi/routing.py
if responses is None: responses = {} for route in router.routes: if isinstance(route, APIRoute): combined_responses = {**responses, **route.responses} use_response_class = get_value_or_default( route.response_class, router.default_response_class, default_response_class,Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// we should try the next route (if there is one). if (e is InterruptedIOException) { return e is SocketTimeoutException && !requestSendStarted } // Look for known client-side or negotiation errors that are unlikely to be fixed by trying // again with a different route. if (e is SSLHandshakeException) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
internal/grid/manager.go
} return m, nil } // AddToMux will add the grid manager to the given mux. func (m *Manager) AddToMux(router *mux.Router, authReq func(r *http.Request) error) { router.Handle(m.routePath, m.Handler(authReq)) } // Handler returns a handler that can be used to serve grid requests. // This should be connected on RoutePath to the main server.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
docs/changelogs/changelog_2x.md
misleading; it was always used to configure redirects between `https://` and `http://` schemes. * **RouteDatabase is no longer public API.** OkHttp continues to track which routes have failed but this is no exposed in the API. * **ResponseSource is gone.** This enum exposed whether a response came from the cache, network, or both. OkHttp 2 offers more detail with raw access toCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response.body.string()).isEqualTo("abc") assertThat(server.takeRequest().exchangeIndex).isEqualTo(0) // Note that although we have two routes available, we only use one. The retry is permitted // because there are routes available, but it chooses the existing connection since it isn't // yet considered unhealthy. assertThat(server.takeRequest().exchangeIndex).isEqualTo(1) } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 67.5K bytes - Click Count (0)