MCPcopy
hub / github.com/encode/starlette / options

Method options

starlette/testclient.py:493–514  ·  view source on GitHub ↗
(  # type: ignore[override]
        self,
        url: httpx._types.URLTypes,
        *,
        params: httpx._types.QueryParamTypes | None = None,
        headers: httpx._types.HeaderTypes | None = None,
        cookies: httpx._types.CookieTypes | None = None,
        auth: httpx._types.AuthTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
        follow_redirects: bool | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
        timeout: httpx._types.TimeoutTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
        extensions: dict[str, Any] | None = None,
    )

Source from the content-addressed store, hash-verified

491 )
492
493 def options( # type: ignore[override]
494 self,
495 url: httpx._types.URLTypes,
496 *,
497 params: httpx._types.QueryParamTypes | None = None,
498 headers: httpx._types.HeaderTypes | None = None,
499 cookies: httpx._types.CookieTypes | None = None,
500 auth: httpx._types.AuthTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
501 follow_redirects: bool | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
502 timeout: httpx._types.TimeoutTypes | httpx._client.UseClientDefault = httpx._client.USE_CLIENT_DEFAULT,
503 extensions: dict[str, Any] | None = None,
504 ) -> httpx.Response:
505 return super().options(
506 url,
507 params=params,
508 headers=headers,
509 cookies=cookies,
510 auth=auth,
511 follow_redirects=follow_redirects,
512 timeout=timeout,
513 extensions=extensions,
514 )
515
516 def head( # type: ignore[override]
517 self,

Calls

no outgoing calls

Tested by

no test coverage detected