Skip to content

Adds ContentType to python snippets for multipart/formdata#267

Merged
umeshp7 merged 3 commits intopostmanlabs:developfrom
someshkoli:fix/pythonFormData
Oct 29, 2020
Merged

Adds ContentType to python snippets for multipart/formdata#267
umeshp7 merged 3 commits intopostmanlabs:developfrom
someshkoli:fix/pythonFormData

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
Contributor

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