Comments (2)
Sounds good to me. Although I think that we can utilize http_parser
to read headers of parts instead.
from form_data.
I just wanted to note that I tried danabr/multipart-parser, and surprisingly I found it to be significantly slower than Rack's multipart parser. I generated a multipart body from a 25MB file, and parsed it with both multipart-parser
and Rack's multipart parser, and Rack took about 4s whereas multipart-parser
took around 35s.
It's not that I needed it or anything, I was just wondering what was the performance comparison between the two.
from form_data.
Related Issues (10)
- Robust multipart/related support? HOT 2
- Keyword arguments, when were they first used? HOT 3
- buffer encoding issues HOT 13
- Custom encoding method HOT 5
- Ensure file is closed after reading if it was passed as Pathname or String
- Yank form_data gems HOT 7
- multipart/form-data work improper when only one form field used.
- Setting Content-Type is not supported on non-file parts
- Creation of file parts without filename is not supported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from form_data.