Skip to content

Commit

Permalink
Merge pull request #313 from ac1997/master
Browse files Browse the repository at this point in the history
Fix MultipartEncoder docstring typo
  • Loading branch information
sigmavirus24 authored Aug 10, 2021
2 parents a37b24b + 772ea64 commit 5ead53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests_toolbelt/multipart/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MultipartEncoder(object):
from requests_toolbelt import MultipartEncoder
encoder = MultipartEncoder({'field': 'value',
'other_field', 'other_value'})
'other_field': 'other_value'})
r = requests.post('https://httpbin.org/post', data=encoder,
headers={'Content-Type': encoder.content_type})
Expand Down

0 comments on commit 5ead53f

Please sign in to comment.