-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【需求】添加获取response返回的header信息 #144
Comments
@792817377 seldom 2.9.0 版本支持返回对象。 import seldom
class TestRequest(seldom.TestCase):
def test_get(self):
""" test getrequest """
resp = self.get('http://httpbin.org/get', data={'key': 'value'})
print(resp.headers)
if __name__ == '__main__':
seldom.main(debug=True) resp.headers 打印结果:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前看只有获取response,self.response
希望可以添加获取响应请求头信息
The text was updated successfully, but these errors were encountered: