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

Upgrade form-data, add back browserify compability. Fixes #455. #1307

Merged
merged 1 commit into from Dec 7, 2014

Conversation

eiriksm
Copy link
Member

@eiriksm eiriksm commented Dec 7, 2014

The form-data module now has moved to a "browserifiable" mime module, so request can again be built with browserify if we upgrade to the latest version of form-data.

This PR fixes that.

Just wondering. If I make a PR where I add a test suite for making sure request can be used with browserify, will that be considered being added into request?

@nylen
Copy link
Member

nylen commented Dec 7, 2014

Thanks! We definitely want to support browserify. How do you propose to test this?

nylen added a commit that referenced this pull request Dec 7, 2014
Upgrade form-data, add back browserify compability. Fixes #455.
@nylen nylen merged commit 90fbd7c into request:master Dec 7, 2014
@eiriksm
Copy link
Member Author

eiriksm commented Dec 7, 2014

I was thinking just adding a karma test run that tests a couple of requests. Right now I have a POC just requesting https://api.github.com, so we can just verify that the script does not crash with a dependency doing fs.readFile or the like.

Just since animated gifs is worth more than a thousand words:

rq

@limikael
Copy link

limikael commented Dec 8, 2014

@eiriksm I think this would be really good to have!

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

3 participants