- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 1,943 for Responses (0.1 seconds)
-
scripts/contributors.py
variables = {"after": after} response = httpx.post( github_graphql_url, headers=headers, timeout=settings.httpx_timeout, json={"query": query, "variables": variables, "operationName": "Q"}, ) if response.status_code != 200: logging.error(f"Response was not 200, after: {after}") logging.error(response.text) raise RuntimeError(response.text)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 16 12:34:01 GMT 2025 - 8.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt
} else { append("HTTP/1.1") } append(' ').append(code) append(' ').append(message) } companion object { fun get(response: Response): StatusLine = StatusLine(response.protocol, response.code, response.message) @Throws(IOException::class) fun parse(statusLine: String): StatusLine { // H T T P / 1 . 1 2 0 0 T e m p o r a r y R e d i r e c tCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
} while (true); } else { request.setResponse(response); } if (response == null) { throw new IOException("Invalid response"); } return response; } @Override protected <T extends Response> boolean handleIntermediate(final Request request, final T response) { if (!this.smb2) { return false; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
} } private FileEntry advance() throws CIFSException { final int n = this.response.getStatus() == WinError.ERROR_MORE_DATA ? this.response.getNumEntries() - 1 : this.response.getNumEntries(); while (this.ridx < n) { final FileEntry itm = this.response.getResults()[this.ridx]; this.ridx++; if (filter(itm)) { return itm; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
tests/test_dependency_yield_except_httpexception.py
client = TestClient(app) def test_dependency_gets_exception(): assert state["except"] is False assert state["finally"] is False response = client.put("/invalid-user/rick", json="Morty") assert response.status_code == 400, response.text assert response.json() == {"detail": "Invalid user"} assert state["except"] is True assert state["finally"] is True assert fake_database["rick"] == "Rick Sanchez"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.9K bytes - Click Count (0) -
tests/test_form_default.py
client = TestClient(app) def test_form_default_url_encoded(): response = client.post("/urlencoded", data={"age": ""}) assert response.status_code == 200 assert response.text == "null" def test_form_default_multi_part(): response = client.post("/multipart", data={"age": ""}) assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 829 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java
.post(jsonRequestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new RequestBodyCompression().run();
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 04 17:43:43 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
* The content cache that stores the response content. */ private ContentCache contentCache; /** * The encoding used for the response content. */ private String encoding; /** * The exception that occurred while accessing the content, if any. */ private Exception contentException; /** * The headers of the response. */Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
*/ @Override public T getResponse() { return this.response; } /** * Create the response object for this request * * @param tc the CIFS context * @param req the request object * @return the response object */ protected abstract T createResponse(CIFSContext tc, ServerMessageBlock2Request<T> req); /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 7.2K bytes - Click Count (0) -
tests/test_return_none_stringified_annotations.py
@app.get("/no-content", status_code=http.HTTPStatus.NO_CONTENT) def return_no_content() -> "None": return client = TestClient(app) response = client.get("/no-content") assert response.status_code == http.HTTPStatus.NO_CONTENT, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Sep 20 18:44:43 GMT 2025 - 431 bytes - Click Count (0)