- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,054 for body (0.02 sec)
-
okhttp/src/main/kotlin/okhttp3/RequestBody.kt
* writing. * * [grpc]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md */ open fun isDuplex(): Boolean = commonIsDuplex() /** * Returns true if this body expects at most one call to [writeTo] and can be transmitted * at most once. This is typically used when writing the request body is destructive and it is not
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 25 14:41:37 UTC 2024 - 9.6K bytes - Viewed (0) -
internal/config/identity/openid/provider/keycloak.go
return err } req.Header.Set("Content-Type", "application/x-www-form-urlencoded") resp, err := k.client.Do(req) if err != nil { return err } defer resp.Body.Close() var accessToken Token if err = json.NewDecoder(resp.Body).Decode(&accessToken); err != nil { return err } k.Lock() k.accessToken = accessToken k.Unlock() return nil } // LookupUser lookup user by their userid.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jul 14 18:12:07 UTC 2024 - 4.6K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005.py
from typing import Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( openapi_examples={ "normal": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.4K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-request-and-route.md
Mas por causa das nossas mudanças em `GzipRequest.body`, o corpo da requisição será automaticamente descomprimido quando for carregado pelo **FastAPI** quando necessário. ## Acessando o corpo da requisição em um manipulador de exceção /// tip | Dica
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 22 17:33:00 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/config/subnet/subnet.go
} var body bytes.Buffer writer := multipart.NewWriter(&body) part, e := writer.CreateFormFile("file", filename) if e != nil { return "", e } if _, e = part.Write(payload); e != nil { return "", e } writer.Close() r, e := http.NewRequest(http.MethodPost, reqURL, &body) if e != nil { return "", e }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 27 16:35:36 UTC 2023 - 2.9K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt
} @Test fun get() { assumeNotWindows() server.enqueue( MockResponse.Builder() .body("Hello!") .setHeader("Content-Type", PLAIN) .build(), ) val response = client.newCall(request().build()).execute() assertThat(response.body).isNotNull() response.body.bytes() logRecorder .assertLogMatch(Regex("""callStart: Request\{method=GET, url=$url\}"""))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/WebAuthTests.java
requestBody.put("available", true); requestBody.put("sort_order", 1); checkMethodBase(requestBody).put("/api/admin/webconfig/setting").then().body("response.created", equalTo(true)) .body("response.status", equalTo(0)); } String getWebConfigId() { final Map<String, Object> searchBody = new HashMap<>(); searchBody.put("name", "test_webconfig");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
@Test @Throws(IOException::class) fun non101RetainsBody() { webServer.enqueue( MockResponse.Builder() .code(200) .body("Body") .build(), ) newWebSocket() clientListener.assertFailure( 200, "Body", ProtocolException::class.java, "Expected HTTP 101 response but was '200 OK'", ) } @Test @Throws(IOException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Callback.kt
* proceed to read the response body with [Response.body]. The response is still live until its * response body is [closed][ResponseBody]. The recipient of the callback may consume the response * body on another thread. * * Note that transport-layer success (receiving a HTTP response code, headers and body) does not
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dashboard/admin_dashboard.jsp
<title><la:message key="labels.admin_brand_title"/> | <la:message key="labels.dashboard_title_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">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Feb 12 12:21:50 UTC 2020 - 1.1K bytes - Viewed (0)