- Sort Score
- Result 10 results
- Languages All
Results 641 - 650 of 989 for readers (0.05 sec)
-
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
} @Override public String getSinkContents() throws IOException { File file = getFile(); Reader reader = new InputStreamReader(new FileInputStream(file), UTF_8); StringBuilder builder = new StringBuilder(); CharBuffer buffer = CharBuffer.allocate(100); while (reader.read(buffer) != -1) { Java8Compatibility.flip(buffer); builder.append(buffer);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 12.6K bytes - Viewed (0) -
docs/pt/docs/advanced/using-request-directly.md
# Utilizando o Request diretamente Até agora você declarou as partes da requisição que você precisa utilizando os seus tipos. Obtendo dados de: * Os parâmetros das rotas. * Cabeçalhos (*Headers*). * Cookies. * etc. E ao fazer isso, o **FastAPI** está validando as informações, convertendo-as e gerando documentação para a sua API automaticamente. Porém há situações em que você possa precisar acessar o objeto `Request` diretamente.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
api/go1.4.txt
pkg compress/flate, type Resetter interface, Reset(io.Reader, []uint8) error pkg compress/zlib, type Resetter interface { Reset } pkg compress/zlib, type Resetter interface, Reset(io.Reader, []uint8) error # CL 159120044 compress/gzip: allow stopping at end of first stream, Russ Cox <******@****.***> pkg compress/gzip, method (*Reader) Multistream(bool)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial006b.py
client = TestClient(app) def test_redirect_response_class(): response = client.get("/fastapi", follow_redirects=False) assert response.status_code == 307 assert response.headers["location"] == "https://fastapi.tiangolo.com" def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 899 bytes - Viewed (0) -
cmd/storage-rest-common_gen.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *nsScannerOptions) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 7.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
assertThat(request.header("Host")).isNull() assertThat(request.header("Accept-Encoding")).isNull() // No extra headers in the application's response. val response = client.newCall(request).execute() assertThat(request.header("Content-Encoding")).isNull() assertThat(response.body.string()).isEqualTo("abcabcabc") } @Test fun networkInterceptorsCanChangeRequestMethodFromGetToPost() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloseablesTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.verify; import java.io.ByteArrayInputStream; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import junit.framework.TestCase; /** * Unit tests for {@link Closeables}. * * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/query-param-models.md
] } ``` ## Summary You can use **Pydantic models** to declare **query parameters** in **FastAPI**. 😎 /// tip Spoiler alert: you can also use Pydantic models to declare cookies and headers, but you will read about that later in the tutorial. 🤫
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.8K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
url = "https://url-host.com:${server.port}/".toHttpUrl(), headers = headersOf("Host", "header-host"), ), ) val response = call.execute() assertThat(response.isSuccessful).isTrue() val recordedRequest = server.takeRequest() assertThat(recordedRequest.requestUrl!!.host).isEqualTo("header-host") assertThat(recordedRequest.handshakeServerNames).containsExactly("url-host.com")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
internal/grid/trace.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 4.1K bytes - Viewed (0)