mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
10 lines
180 B
Python
10 lines
180 B
Python
import requests
|
|
from wsgiadapter import WSGIAdapter
|
|
|
|
from app import api
|
|
|
|
s = requests.Session()
|
|
s.mount("http://staging/", WSGIAdapter(api))
|
|
r = s.get("http://staging/")
|
|
print(r)
|