MCPcopy Index your code
hub / github.com/appium/python-client / get_httpretty_request_body

Function get_httpretty_request_body

test/unit/helper/test_helper.py:202–204  ·  view source on GitHub ↗

Returns utf-8 decoded request body

(request: 'HTTPrettyRequestEmpty')

Source from the content-addressed store, hash-verified

200
201
202def get_httpretty_request_body(request: 'HTTPrettyRequestEmpty') -> Dict[str, Any]:
203 """Returns utf-8 decoded request body"""
204 return json.loads(request.body.decode('utf-8'))

Calls

no outgoing calls

Tested by

no test coverage detected