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

When possible, guess the content-type of the file being sent #398

Closed
wants to merge 1 commit into from

Conversation

wodny
Copy link
Contributor

@wodny wodny commented Oct 24, 2015

Refined PR #285 by rasky to pass all tests
A possible solution to "Content Type of file uploaded in multipart/form-data request" #271 when using the form mode.

jkbrzt added a commit that referenced this pull request Feb 28, 2016
Closes #271 #285 #398

This adds filename-based detection. It's still not possible to specify the
content type manually, though.
jkbrzt added a commit that referenced this pull request Feb 28, 2016
Closes #271 #285 #398

This adds filename-based detection. It's still not possible to specify the
content type manually, though.
@jkbrzt
Copy link
Member

jkbrzt commented Feb 28, 2016

Merged, thanks!

@jkbrzt jkbrzt closed this Feb 28, 2016
rocketraman added a commit to rocketraman/spring-restdocs that referenced this pull request Mar 7, 2016
NOTES:

* Httpie does not currently support setting the content type for each
  part in a multipart form -- these multipart types are currently
  ignored. See:

  httpie/cli#199
  httpie/cli#271
  httpie/cli#285
  httpie/cli#398

* There is an issue with specifying piped input for multipart form data.
  There is no way currently to specify the data without specifying a
  filename parameter in the Content-Disposition. For now, this is
  ignored. See:

  httpie/cli#342
rocketraman added a commit to rocketraman/spring-restdocs that referenced this pull request Mar 7, 2016
NOTES:

* Httpie does not currently support setting the content type for each
  part in a multipart form -- these multipart types are currently
  ignored. See:

  httpie/cli#199
  httpie/cli#271
  httpie/cli#285
  httpie/cli#398

* There is an issue with specifying piped input for multipart form data.
  There is no way currently to specify the data without specifying a
  filename parameter in the Content-Disposition. For now, this is
  ignored. See:

  httpie/cli#342
rocketraman added a commit to rocketraman/spring-restdocs that referenced this pull request Mar 7, 2016
NOTES:

* Httpie does not currently support setting the content type for each
  part in a multipart form -- these multipart types are currently
  ignored. See:

  httpie/cli#199
  httpie/cli#271
  httpie/cli#285
  httpie/cli#398

* There is an issue with specifying piped input for multipart form data.
  There is no way currently to specify the data without specifying a
  filename parameter in the Content-Disposition. For now, this is
  ignored. See:

  httpie/cli#342
rocketraman added a commit to rocketraman/spring-restdocs that referenced this pull request Mar 7, 2016
NOTES:

* Httpie does not currently support setting the content type for each
  part in a multipart form -- these multipart types are currently
  ignored. See:

  httpie/cli#199
  httpie/cli#271
  httpie/cli#285
  httpie/cli#398

* There is an issue with specifying piped input for multipart form data.
  There is no way currently to specify the data without specifying a
  filename parameter in the Content-Disposition. For now, this is
  ignored. See:

  httpie/cli#342
wilkinsona pushed a commit to spring-projects/spring-restdocs that referenced this pull request Mar 9, 2016
This commit adds support for generating a snippet that contains
the HTTPie command for the request. As the snippet does not require
any additional configuration, it has added to the existing default
snippets.

Httpie does not currently support setting the content type for each
part in a multipart form -- these multipart types are currently
ignored. See:

    httpie/cli#199
    httpie/cli#271
    httpie/cli#285
    httpie/cli#398

There is an issue with specifying piped input for multipart form
data. There is no way currently to specify the data without specifying
a filename parameter in the Content-Disposition. For now, this is
ignored. See:

    httpie/cli#342

See gh-207
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.

None yet

2 participants