MCPcopy Create free account
hub / github.com/ceph/ceph / do_req

Method do_req

src/ceph-node-proxy/ceph_node_proxy/redfish_client.py:137–146  ·  view source on GitHub ↗
(h: Dict[str, str])

Source from the content-addressed store, hash-verified

135 return h
136
137 def do_req(h: Dict[str, str]) -> Tuple[HTTPMessage, str, int]:
138 return http_req(
139 hostname=self.host,
140 port=self.port,
141 endpoint=endpoint,
142 headers=h,
143 method=method,
144 data=data,
145 timeout=timeout,
146 )
147
148 try:
149 return do_req(req_headers())

Callers

nothing calls this directly

Calls 1

http_reqFunction · 0.90

Tested by

no test coverage detected