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

Update README.md to explain custom file use case #1288

Merged
merged 1 commit into from Nov 28, 2014

Conversation

cliffcrosland
Copy link
Contributor

Add documentation to indicate a use case for custom file values and options in multipart form data requests.

The added sentence may have saved my team a few hours.

Our specific use case:

  • We wanted to receive uploaded files and send them directly to an external service without allowing the files to be written to disk.
  • Because we were uploading a file from a stream, we needed to add custom file-related information in our request to the external service.

Adding documentation to indicate a use case for custom file values and options in multipart form data requests. The added sentence may have saved my team a few hours.

Use case:
- A user wants to upload a file to your service, and you in turn want to upload the file to an external service.
- Constraint: you don't want the file to be written to disk in your service.
- Because you're uploading a file from a stream, you need to add custom file-related information manually in your request to the external service.
@nylen
Copy link
Member

nylen commented Nov 28, 2014

Looks fine to me, thanks!

nylen added a commit that referenced this pull request Nov 28, 2014
Update README.md to explain custom file use case
@nylen nylen merged commit 69068f1 into request:master Nov 28, 2014
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