MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / main

Function main

python/examples/proxy.py:6–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5
6async def main():
7 resp = await rnet.post(
8 "https://httpbin.org/anything",
9 proxy=Proxy.all(
10 url="http://127.0.0.1:6152",
11 custom_http_headers={
12 "user-agent": "rnet",
13 "accept": "*/*",
14 "accept-encoding": "gzip, deflate, br",
15 "x-proxy": "rnet",
16 },
17 ),
18 )
19 print(await resp.text())
20
21
22if __name__ == "__main__":

Callers 1

proxy.pyFile · 0.70

Calls 2

postMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected