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

Adds ContentType to python snippets for multipart/formdata #267

Merged
merged 3 commits into from
Oct 29, 2020

Conversation

someshkoli
Copy link
Contributor

Fixes #247

  • Adds ContentTypetoHeader map
  • Adds snipept for content type
  • Modifies test for no file in formdata

someshkoli and others added 3 commits May 31, 2020 00:31
 - Adds ContentTypetoHeader map
 - Adds snipept for content type
 - Modifies test for `no file in formdata`
 - Replace filename(entire path) with just filename
 - Modifies test accordingly
@umeshp7
Copy link
Member

umeshp7 commented Oct 26, 2020

@webholik Was the issue verified? I couldn't find in the docs that Content-Type is mandatory for image or file upload?

@umeshp7 umeshp7 merged commit 382513d into postmanlabs:develop Oct 29, 2020
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.

Content-Type missing in Python Requests code generated for file upload of image
3 participants