Skip to content

Adjusted working with requests #5

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

Merged
merged 1 commit into from
May 11, 2017
Merged

Conversation

krasoffski
Copy link
Contributor

Code adjustments before attachments implementation.

  • Python requests version 2.4.2 introduced json argument. Thus, no need to specify Content-Type: application/json with json argument.
  • Increased required minimal Python requests version to 2.4.2 as it was released more then 2 years ago.
  • Clean up warning for __init__.py files for flake8.
  • Fix length of doc string up to 79 chars.
  • Added Bearer auth to session scope to avoid useless arguments each time for performing requests.

@avarabyeu avarabyeu merged commit 7bb9334 into reportportal:master May 11, 2017
@krasoffski krasoffski deleted the authfix branch May 11, 2017 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants