- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 1,255 for tbody (0.06 seconds)
-
CHANGELOG.md
url = "https://cash.app/".toHttpUrl(), ) ``` * New: `Response.body` is now non-null. This was generally the case in OkHttp 4.x, but the Kotlin type declaration was nullable to support rare cases like the body on `Response.cacheResponse`, `Response.networkResponse`, and `Response.priorResponse`. In such cases the body is now non-null, but attempts to read its content will fail.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 15 11:57:47 GMT 2026 - 36.2K bytes - Click Count (2) -
docs/changelogs/changelog_2x.md
<artifactId>okio</artifactId> <version>1.4.0</version> </dependency> ``` * **`Request.Builder` no longer accepts null if a request body is required.** Passing null will now fail for request methods that require a body. Instead use an empty body such as this one: ```java RequestBody.create(null, new byte[0]); ```
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
.code(200) .message("OK") .body("Hello".toResponseBody()) .header("Content-Encoding", "piedpiper") .build() }.build() val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute() assertThat(response.header("Content-Encoding")).isEqualTo("piedpiper") assertThat(response.body.string()).isEqualTo("Hello") } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_request_body_parameters_media_type.py
@app.post("/products") async def create_product(data: Product = Body(media_type=media_type, embed=True)): pass # pragma: no cover @app.post("/shops") async def create_shop( data: Shop = Body(media_type=media_type), included: list[Product] = Body(default=[], media_type=media_type), ): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 7.2K bytes - Click Count (0) -
tests/test_get_request_body.py
@app.get("/product") async def create_item(product: Product): return product client = TestClient(app) def test_get_with_body(): body = {"name": "Foo", "description": "Some description", "price": 5.5} response = client.request("GET", "/product", json=body) assert response.json() == body def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4.2K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/badword/admin_badword_upload.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.bad_word_configuration"/></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 5.5K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/admin/relatedcontent/admin_relatedcontent_edit.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.related_content_configuration"/></title> <jsp:include page="/WEB-INF/view/common/admin/head.jsp"></jsp:include> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <jsp:include page="/WEB-INF/view/common/admin/header.jsp"></jsp:include> <jsp:include page="/WEB-INF/view/common/admin/sidebar.jsp">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 5.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/DownloadBody.java
*/ package org.codelibs.fess.app.web.api.admin.dict.stemmeroverride; import org.codelibs.fess.app.web.admin.dict.stemmeroverride.DownloadForm; /** * Download body for stemmer override dictionary API operations. * This class extends the DownloadForm to provide request body handling * for downloading stemmer override dictionaries via REST API. * */ public class DownloadBody extends DownloadForm { /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
@Test public void test_SynchronousExecute_ReturnsResponse() throws Exception { // ## Arrange ## String body = "sync response body"; CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> new OutputCapturingMockHttpURLConnection(u, body)); // ## Act ## try (CurlResponse response = req.execute()) { // ## Assert ##Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostForm.kt
.build() val request = Request( url = "https://en.wikipedia.org/w/index.php".toHttpUrl(), body = formBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string()) } } } fun main() { PostForm().run()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.3K bytes - Click Count (0)