- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 101 for PLAIN (0.01 sec)
-
docs/features/interceptors.md
INFO: Sending request http://www.publicobject.com/helloworld.txt on null User-Agent: OkHttp Example INFO: Received response for https://publicobject.com/helloworld.txt in 1179.7ms Server: nginx/1.4.6 (Ubuntu) Content-Type: text/plain Content-Length: 1759 Connection: keep-alive ``` We can see that we were redirected because `response.request().url()` is different from `request.url()`. The two log statements log two different URLs.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
} private fun response( url: String, bodyHex: ByteString, fn: Response.Builder.() -> Unit = {}, ): Response = Response .Builder() .body(bodyHex.toResponseBody("text/plain".toMediaType())) .code(200) .message("OK") .request(Request.Builder().url(url).build()) .protocol(Protocol.HTTP_2) .apply(fn) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 22 08:12:58 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as * covariant, would still permit a plain `T[]`) and return a plain `T[]`. But of course that would * require its own suppression, since it is also unsound. toArray(T[]) is just a mess from a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
* and highlighting type for displaying search query matches in result snippets. */ public class HighlightInfo { /** The highlighting type (e.g., plain, html). */ private String type; /** The size of each highlighted fragment in characters. */ private int fragmentSize; /** The maximum number of highlighted fragments to return. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
assertThat(requestBody.contentType()).isNull() } } @Test fun testFileDescriptorMediaType() { assertOnFileDescriptor { fd -> val contentType = "text/plain".toMediaType() val requestBody = fd.toRequestBody(contentType) assertThat(requestBody.contentType()).isEqualTo(contentType) } } @Test fun testFileDescriptorReadTwice() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (1) -
android/guava/src/com/google/common/net/MediaType.java
this.parameters = parameters; } /** Returns the top-level media type. For example, {@code "text"} in {@code "text/plain"}. */ public String type() { return type; } /** Returns the media subtype. For example, {@code "plain"} in {@code "text/plain"}. */ public String subtype() { return subtype; } /** Returns a multimap containing the parameters of this media type. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
* non-null Entry objects (Entry objects that might contain null values but are not * themselves null), so we can treat it as a plain `Object[]`. */ @SuppressWarnings("nullness") Object[] result = standardToArray(); return result; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
public void test_isTarget_withVariousMimeTypes() { // Test with various MIME types String[] supportedTypes = { "application/pdf", "image/jpeg", "image/png" }; String[] unsupportedTypes = { "text/plain", "application/xml", "audio/mp3" }; for (String mimeType : supportedTypes) { Map<String, Object> docMap = new HashMap<>(); docMap.put("mimetype", mimeType);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* of the same class. For example, if sublists of {@code MyList} instances were serializable, * those sublists might implement a private {@code MySubList} type but serialize as a plain {@code * MyList} to save space. So long as {@code MyList} has all the public supertypes of {@code * MySubList}, this is safe. For these cases, for which {@code reserializeAndAssert} is too * strict, use {@link #reserialize}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
} static class NonTerminalImmutableMapEntry<K, V> extends ImmutableMapEntry<K, V> { /* * Yes, we sometimes set nextInKeyBucket to null, even for this "non-terminal" entry. We don't * do that with a plain NonTerminalImmutableMapEntry, but we do it with the BiMap-specific * subclass below. That's because the Entry might be non-terminal in the key bucket but terminal * in the value bucket (or vice versa). */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0)