MCPcopy
hub / github.com/encode/httpx / test_options

Function test_options

tests/client/test_client.py:149–153  ·  view source on GitHub ↗
(server)

Source from the content-addressed store, hash-verified

147
148
149def test_options(server):
150 with httpx.Client() as client:
151 response = client.options(server.url)
152 assert response.status_code == 200
153 assert response.reason_phrase == "OK"
154
155
156def test_head(server):

Callers

nothing calls this directly

Calls 1

optionsMethod · 0.45

Tested by

no test coverage detected