- Sort Score
- Num 10 results
- Language All
Results 651 - 660 of 1,513 for RESPONSE (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_openapi_cache_root_path.py
c = TestClient(app, root_path=prefix) c.get("/openapi.json") # A clean request should not have any of them clean_client = TestClient(app) response = clean_client.get("/openapi.json") data = response.json() servers = [s.get("url") for s in data.get("servers", [])] for prefix in ["/path-a", "/path-b", "/path-c"]: assert prefix not in servers, (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 2.3K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
// Type 3 indicator message[8] = 0x03; // LM Response (24 bytes at offset 64) message[12] = 24; // Length message[13] = 0; message[14] = 24; // Max Length message[15] = 0; message[16] = 64; // Offset message[17] = 0; message[18] = 0; message[19] = 0; // NT Response (24 bytes at offset 88) message[20] = 24; // LengthCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
docs/zh-hant/docs/tutorial/path-operation-configuration.md
## 回應描述 { #response-description } 你可以用參數 `response_description` 指定回應的描述: {* ../../docs_src/path_operation_configuration/tutorial005_py310.py hl[18] *} /// info | 資訊 請注意,`response_description` 專指回應,而 `description` 則是針對整個「路徑操作」的一般描述。 /// /// check | 檢查 OpenAPI 規範要求每個「路徑操作」都必須有一個回應描述。 因此,如果你未提供,**FastAPI** 會自動產生 "Successful response"。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
.url(server.url("/")) .header("Connection", "upgrade") .build() client.newCall(requestWithUpgrade).execute().use { response -> assertThat(response.code).isEqualTo(200) assertThat(response.socket).isNull() assertThat(response.body.string()).isEqualTo("normal request") } // Confirm there's no RequestBodyStart/RequestBodyEnd on failed upgrades.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 08 21:07:01 GMT 2026 - 9.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt
) val call = client.newCall(Request.Builder().url(server.url("/")).build()) val response = call.execute() assertThat(response.handshake!!.peerPrincipal) .isEqualTo(X500Principal("CN=Local Host")) assertThat(response.handshake!!.localPrincipal) .isEqualTo(X500Principal("CN=Jethro Willis")) assertThat(response.body.string()).isEqualTo("abc") } @Test fun clientAuthForNeeds() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 13K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
startsFirst.start() val endsFirst = buildRequestThread(secondRequest, secondResponseCode) endsFirst.start() endsFirst.join() // First response is still waiting. assertThat(firstResponseCode.get()).isEqualTo(0) // Second response is done. assertThat(secondResponseCode.get()).isEqualTo(200) latch.countDown() startsFirst.join() // And now it's done!
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
docs/en/docs/tutorial/query-param-models.md
If a client tries to send some **extra** data in the **query parameters**, they will receive an **error** response. For example, if the client tries to send a `tool` query parameter with a value of `plumbus`, like: ```http https://example.com/items/?limit=10&tool=plumbus ``` They will receive an **error** response telling them that the query parameter `tool` is not allowed: ```json { "detail": [ {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2.2K bytes - Click Count (0) -
internal/logger/target/kafka/kafka_scram_client_contrib.go
// error if the server message is invalid. Calling Step after a conversation // completes is also an error. func (x *XDGSCRAMClient) Step(challenge string) (response string, err error) { response, err = x.ClientConversation.Step(challenge) return response, err } // Done returns true if the conversation is completed or has errored. func (x *XDGSCRAMClient) Done() bool { return x.ClientConversation.Done()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
batches.add(new String[] {}); // last -> NO_MORE_FILES // send() answer that mutates the provided response when(tree.send(any(Trans2FindFirst2.class), any(Trans2FindFirst2Response.class))).thenAnswer((InvocationOnMock inv) -> { Trans2FindFirst2Response resp = inv.getArgument(1); // First response content FE[] res = java.util.Arrays.stream(batches.get(0)).map(FE::new).toArray(FE[]::new);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmServlet.java
response.setHeader("WWW-Authenticate", "NTLM"); if (offerBasic) { response.addHeader("WWW-Authenticate", "Basic realm=\"" + this.realm + "\""); } response.setHeader("Connection", "close"); response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); response.flushBuffer(); return;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.1K bytes - Click Count (1)