- Sort Score
- Num 10 results
- Language All
Results 491 - 500 of 799 for tenders (0.05 seconds)
-
docs_src/custom_request_and_route/tutorial001_an_py39.py
from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body) self._body = body return self._body class GzipRoute(APIRoute): def get_route_handler(self) -> Callable:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 988 bytes - Click Count (0) -
tests/test_application.py
assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "window.opener.swaggerUIRedirectOauth2" in response.text def test_redoc(): response = client.get("/redoc") assert response.status_code == 200, response.text assert response.headers["content-type"] == "text/html; charset=utf-8" assert "redoc@2" in response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 51.9K bytes - Click Count (0) -
docs/es/docs/advanced/custom-response.md
* `path` - La path del archivo para el archivo a transmitir. * `headers` - Cualquier header personalizado para incluir, como un diccionario. * `media_type` - Un string que da el media type. Si no se establece, se usará el nombre de archivo o la path para inferir un media type. * `filename` - Si se establece, se incluirá en el response `Content-Disposition`. Los responses de archivos incluirán los headers apropiados `Content-Length`, `Last-Modified` y `ETag`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.2K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
val method: String? by option("-X", "--request").help("Specify request command to use") val data: String? by option("-d", "--data").help("HTTP POST data") val headers: List<String>? by option("-H", "--header").help("Custom header to pass to server").multiple() val userAgent: String by option( "-A", "--user-agent", ).help( "User-Agent to send to server",
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6K bytes - Click Count (0) -
cmd/dummy-data-generator_test.go
r := NewDummyDataGen(100, 0) r.Seek(int64(len(alphabets)), 0) checkEq(readAll(r), readAll(NewDummyDataGen(100-int64(len(alphabets)), 0))) } // Compares all the bytes returned by the given readers. Any Read // errors cause a `false` result. A string describing the error is // also returned. func cmpReaders(r1, r2 io.Reader) (bool, string) { bufLen := 32 * 1024 b1, b2 := make([]byte, bufLen), make([]byte, bufLen)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/uk/docs/tutorial/middleware.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
* * If [algorithms] is empty this interceptor has no effect. To disable compression set * a specific "Accept-Encoding: identity" or similar. * * See https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Accept-Encoding */ open class CompressionInterceptor( vararg val algorithms: DecompressionAlgorithm, ) : Interceptor { internal val acceptEncoding = algorithms .map { it.encoding
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 2.9K bytes - Click Count (1) -
docs/ru/docs/tutorial/header-params.md
Прежде чем установить для `convert_underscores` значение `False`, имейте в виду, что некоторые HTTP-прокси и серверы запрещают использование заголовков с подчеркиванием. /// ## Повторяющиеся заголовки { #duplicate-headers } Есть возможность получать несколько заголовков с одним и тем же именем, но разными значениями. Вы можете определить эти случаи, используя список в объявлении типа.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 11:24:39 GMT 2025 - 5K bytes - Click Count (0) -
cmd/api-response.go
mimeXML mimeType = "application/xml" ) // writeSuccessResponseJSON writes success headers and response if any, // with content-type set to `application/json`. func writeSuccessResponseJSON(w http.ResponseWriter, response []byte) { writeResponse(w, http.StatusOK, response, mimeJSON) } // writeSuccessResponseXML writes success headers and response if any, // with content-type set to `application/xml`.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 35K bytes - Click Count (0) -
docs/de/llm-prompt.md
* «the exception»: «die Exception» * «the exception handler»: «der Exceptionhandler» * «the form model»: «das Formularmodell» * «the form body»: «der Formularbody» * «the header»: «der Header» * «the headers» (plural): «die Header» * «in headers» (plural): «in Headern» * «the forwarded header»: «der Forwarded-Header» * «the lifespan event»: «das Lifespan-Event» * «the lock»: «der Lock» * «the locking»: «das Locking»
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 09:39:53 GMT 2025 - 11.9K bytes - Click Count (0)