- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 800 for Headers (0.06 sec)
-
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) -
internal/s3select/genmessage.go
buf.WriteByte(7) buf.Write([]byte{0, 7}) buf.WriteString("Records") fmt.Println(buf.Bytes()) } // Continuation Message // ==================== // Header specification // -------------------- // Continuation messages contain two headers, as follows: // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-cont.png // // Payload specification // ---------------------
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 4.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) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
} @Test fun headersPostWithHeaderOverrides() { setLevel(Level.HEADERS) extraNetworkInterceptor = Interceptor { chain: Interceptor.Chain -> chain.proceed( chain.request() .newBuilder() .header("Content-Length", "2") .header("Content-Type", "text/plain-ish") .build(), ) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0) -
docs_src/security/tutorial007_an_py39.py
) if not (is_correct_username and is_correct_password): raise HTTPException( status_code=status.HTTP_401_UNAUTHORIZED, detail="Incorrect username or password", headers={"WWW-Authenticate": "Basic"}, ) return credentials.username @app.get("/users/me") def read_current_user(username: Annotated[str, Depends(get_current_username)]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/extensions/s3zip/examples/boto3/main.py
aws_secret_access_key='YOUR-SECRETACCESSKEY', config=Config(signature_version='s3v4'), region_name='us-east-1') def _add_header(request, **kwargs): request.headers.add_header('x-minio-extract', 'true') event_system = s3.meta.events event_system.register_first('before-sign.s3.*', _add_header) # List zip contents
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 04 21:15:45 UTC 2021 - 771 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001.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:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 973 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Call.kt
* leaking resources callers must [close the response body][ResponseBody] or the response. * * Note that transport-layer success (receiving a HTTP response code, headers and body) does not * necessarily indicate application-layer success: `response` may still indicate an unhappy HTTP * response code like 404 or 500. *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 3.6K bytes - Viewed (0) -
src/main/resources/fess_config.properties
api.search.accept.referers= api.search.scroll=false api.json.response.headers= api.json.response.exception.included=false api.gsa.response.headers= api.gsa.response.exception.included=false api.dashboard.response.headers= api.cors.allow.origin=* api.cors.allow.methods=GET, POST, OPTIONS, DELETE, PUT api.cors.max.age=3600 api.cors.allow.headers=Origin, Content-Type, Accept, Authorization, X-Requested-With
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Tue Oct 01 14:13:38 UTC 2024 - 30.9K bytes - Viewed (0)