Skip to content
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

make_mocked_request now accepts dict as headers #1073

Merged
merged 2 commits into from
Aug 15, 2016
Merged

make_mocked_request now accepts dict as headers #1073

merged 2 commits into from
Aug 15, 2016

Conversation

argaen
Copy link
Member

@argaen argaen commented Aug 12, 2016

What do these changes do?

make_mocked_request accepts dict instance as headers arg

Related issue number

#1068

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@codecov-io
Copy link

codecov-io commented Aug 12, 2016

Current coverage is 97.64% (diff: 100%)

Merging #1073 into master will increase coverage by 0.15%

@@             master      #1073   diff @@
==========================================
  Files            28         28          
  Lines          6532       6399   -133   
  Methods           0          0          
  Messages          0          0          
  Branches       1101       1085    -16   
==========================================
- Hits           6368       6248   -120   
+ Misses           88         79     -9   
+ Partials         76         72     -4   

Powered by Codecov. Last update b0231dc...8f8754a

:param headers: CIMultiDict with all request headers
:type headers: multidict.CIMultiDict
:param headers: dict with all request headers
:type headers: dict
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it can be multidict also. Technically the parameter is something acceptable by CIMultiDict ctor. Say, a list of pairs is also working.

@rutsky
Copy link
Member

rutsky commented Aug 15, 2016

LGTM, thanks!

@lock
Copy link

lock bot commented Oct 29, 2019

This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue for
related bugs.

If you feel like there's important points made in this discussion,
please include those exceprts into that new issue.

@lock lock bot added the outdated label Oct 29, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants