- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 874 for tenders (0.33 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(request.headers[":scheme"]).isEqualTo(scheme) assertThat(request.headers[":authority"]).isEqualTo( server.hostName + ":" + server.port, ) val pushedRequest = server.takeRequest() assertThat(pushedRequest.requestLine).isEqualTo("GET /foo/bar HTTP/2") assertThat(pushedRequest.headers["foo"]).isEqualTo("bar") } @Test
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003.py
response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"}) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_incorrect_token_type(client: TestClient): response = client.get( "/users/me", headers={"Authorization": "Notexistent testtoken"} )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.7K bytes - Viewed (0) -
tests/test_request_params/test_header/test_optional_str.py
@pytest.mark.parametrize( "path", ["/optional-str", "/model-optional-str"], ) def test_optional_str(path: str): client = TestClient(app) response = client.get(path, headers={"p": "hello"}) assert response.status_code == 200 assert response.json() == {"p": "hello"} # ===================================================================================== # Alias
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/features/calls.md
Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type. ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/) The response answers the request with a code (like 200 for success or 404 for not found), headers, and its own optional body. ## Rewriting Requests
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
else -> null } } fun CookieJar.receiveHeaders( url: HttpUrl, headers: Headers, ) { if (this === CookieJar.NO_COOKIES) return val cookies = Cookie.parseAll(url, headers) if (cookies.isEmpty()) return saveFromResponse(url, cookies) } /** * Returns true if the response headers and status indicate that this response has a (possibly * 0-length) body. See RFC 7231. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.java
import static com.google.common.collect.testing.testers.CollectionAddAllTester.getAddAllNullUnsupportedMethod; import static com.google.common.collect.testing.testers.CollectionAddTester.getAddNullSupportedMethod; import static com.google.common.collect.testing.testers.CollectionAddTester.getAddNullUnsupportedMethod; import static com.google.common.collect.testing.testers.CollectionCreationTester.getCreateWithNullUnsupportedMethod;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun addUnsafeNonAscii (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder; public final fun build ()Lokhttp3/Headers; public final fun get (Ljava/lang/String;)Ljava/lang/String; public final fun removeAll (Ljava/lang/String;)Lokhttp3/Headers$Builder; public final fun set (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapTestSuiteBuilder.java
List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters()); testers.add(SetMultimapAsMapTester.class); testers.add(SetMultimapEqualsTester.class); testers.add(SetMultimapPutTester.class); testers.add(SetMultimapPutAllTester.class); testers.add(SetMultimapReplaceValuesTester.class); return testers; } @Override TestSuite computeMultimapGetTestSuite(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 5.6K bytes - Viewed (0) -
tests/test_request_params/test_header/test_required_str.py
] } @pytest.mark.parametrize( "path", ["/required-str", "/model-required-str"], ) def test_required_str(path: str): client = TestClient(app) response = client.get(path, headers={"p": "hello"}) assert response.status_code == 200 assert response.json() == {"p": "hello"} # ===================================================================================== # AliasRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10K bytes - Viewed (0)