- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,344 for response (0.18 sec)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
val responseBody = response.body!! val contentLength = responseBody.contentLength() val bodySize = if (contentLength != -1L) "$contentLength-byte" else "unknown-length" logger.log( buildString { append("<-- ${response.code}") if (response.message.isNotEmpty()) append(" ${response.message}") append(" ${redactUrl(response.request.url)} (${tookMs}ms")Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
response = self._http.urlopen( 'POST', sts_ep_url, preload_content=True) if response.status != 200: message = "Credential refresh failed, response: %s" raise CredentialRetrievalError( provider=method, error_msg=message % response.status, )Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/WebApiFilter.java
* * @param request The servlet request * @param response The servlet response * @param chain The filter chain * @throws IOException If an I/O error occurs * @throws ServletException If a servlet error occurs */ @Override public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain) throws IOException, ServletException {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/SuggestTests.java
String response = checkGetMethod(searchBody, "").asString(); final Map<String, Object> res = JsonPath.from(response).getMap("response.setting"); assertTrue(res.containsKey("total_words_num")); assertTrue(res.containsKey("document_words_num")); assertTrue(res.containsKey("query_words_num")); assertEquals(Integer.valueOf(0), JsonPath.from(response).get("response.status")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jun 19 07:14:01 UTC 2025 - 2.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
), ).build() val response = client.newCall(request).execute() response.use { assertEquals(Protocol.HTTP_2, response.protocol) assertEquals(200, response.code) assertEquals("com.google.android.gms.org.conscrypt.Java8FileDescriptorSocket", socketClass) assertEquals(TlsVersion.TLS_1_2, response.handshake?.tlsVersion) } } finally {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 14:12:28 UTC 2025 - 29K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt
throw IllegalStateException( """ |Unreadable ResponseBody! These Response objects have bodies that are stripped: | * Response.cacheResponse | * Response.networkResponse | * Response.priorResponse | * EventSourceListener | * WebSocketListener |(It is safe to call contentType() and contentLength() on these response bodies.) """.trimMargin(), )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 15:19:53 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java
/** * {@inheritDoc} * * @see jcifs.util.transport.Response#setExpiration(java.lang.Long) */ @Override public void setExpiration(final Long exp) { this.expiration = exp; } /** * Checks whether the asynchronous interim response has been handled. * * @return whether the interim response has been handled */ public boolean isAsyncHandled() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/features/calls.md
## Rewriting Responses If transparent compression was used, OkHttp will drop the corresponding response headers `Content-Encoding` and `Content-Length` because they don’t apply to the decompressed response body. If a conditional GET was successful, responses from the network and cache are merged as directed by the spec. ## Follow-up Requests
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java
list.setTook(response.getTook().getMillis()); list.setTotalShards(response.getTotalShards()); list.setSuccessfulShards(response.getSuccessfulShards()); list.setFailedShards(response.getFailedShards()); list.setTotalHits(searchHits.getTotalHits()); list.setAggregation(response.getAggregations()); // #pending othersRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jun 21 04:02:44 UTC 2025 - 26.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
* Returns a decompressed copy of the Response, typically via a streaming Source. * If no known decompression or the response is not compressed, returns the response unmodified. */ internal fun decompress(response: Response): Response { if (!response.promisesBody()) { return response } val body = response.body val encoding = response.header("Content-Encoding") ?: return response
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (1)