robotframework-httplibrary icon indicating copy to clipboard operation
robotframework-httplibrary copied to clipboard

http_request passing headers into webtest through keyword argument.

Open KoleS46 opened this issue 9 years ago • 0 comments

The request method doesn't have headers as a positional argument. def request(self, url_or_req, status=None, expect_errors=False, **req_params): https://github.com/Pylons/webtest/blob/master/webtest/app.py#L526 This causes the headers to be not present in the request. Therefore we need to pass it as a keyword one.

KoleS46 avatar Feb 09 '16 13:02 KoleS46