- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 589 for encodeTo (0.11 sec)
-
src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.2K bytes - Viewed (0) -
docs/pt/docs/advanced/response-directly.md
Por padrão, o **FastAPI** irá converter automaticamente o valor do retorno para JSON utilizando o `jsonable_encoder` explicado em [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}. Então, por baixo dos panos, ele incluiria esses dados compatíveis com JSON (e.g. um `dict`) dentro de uma `JSONResponse` que é utilizada para enviar uma resposta para o cliente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
} if b == ';' { // separating character break } // Manually deserialize the size since AWS specified // the chunk size to be of variable width. In particular, // a size of 16 is encoded as `10` while a size of 64 KB // is `10000`. switch { case b >= '0' && b <= '9': size = size<<4 | int(b-'0') case b >= 'a' && b <= 'f': size = size<<4 | int(b-('a'-10))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
* Fix: Don't throw when converting an `HttpUrl` to a `java.net.URI`. Previously URLs with special characters like `|` and `[` would break when subjected to URI’s overly-strict validation. * Fix: Don't re-encode `+` as `%20` in encoded URL query strings. OkHttp prefers `%20` when doing its own encoding, but will retain `+` when that is provided. * Fix: Enforce that callers call `WebSocket.close()` on IO errors. Error
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
fun toUriWithControlCharacters() { // Percent-encoded in the path. assertThat("http://host/a\u0000b".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%00b")) assertThat("http://host/a\u0080b".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%C2%80b")) assertThat("http://host/a\u009fb".toHttpUrl().toUri()) .isEqualTo(URI("http://host/a%C2%9Fb")) // Percent-encoded in the query.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0) -
docs/iam/identity-manager-plugin.go
package main import ( "encoding/json" "errors" "fmt" "log" "net/http" ) func writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusBadRequest) json.NewEncoder(w).Encode(map[string]string{ "reason": fmt.Sprintf("%v", err), }) } type Resp struct { User string `json:"user"` MaxValiditySeconds int `json:"maxValiditySeconds"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 21:31:13 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.5K bytes - Viewed (0) -
docs_src/response_directly/tutorial001.py
from datetime import datetime from typing import Union from fastapi import FastAPI from fastapi.encoders import jsonable_encoder from fastapi.responses import JSONResponse from pydantic import BaseModel class Item(BaseModel): title: str timestamp: datetime description: Union[str, None] = None app = FastAPI() @app.put("/items/{id}") def update_item(id: str, item: Item):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 505 bytes - Viewed (0) -
android/guava/src/com/google/common/net/UrlEscapers.java
/** * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding. * The caller is responsible for <a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K bytes - Viewed (0)