Comments (2)
i think you'd be better off currying the function yourself rather than it being built-in. what's your general use-case?
from reqwest.
maybe it's just that i got used to this api over the years, but currying myself is fine, too.
my general use case is that I often need to load several files at once. currently i'm writing a tiny ender extension for this functionality. because of the missing context option, I now had to include the Function.prototype.bind thing to ensure that the success handler is always bound to the right context.
but i'm sure there must be an easier way to do the same..
from reqwest.
Related Issues (20)
- Setting contentType to application/json leads to session cookie not being sent HOT 1
- Setting content-type to 'application/json' on POST seems to be broken HOT 2
- context undefined when using webpack HOT 8
- reqwest 404 Request Method:OPTIONS
- Uncaught TypeError: Cannot read property 'responseText' of undefined
- if ajax return empty string ,the success function first param type will become "XMLHttpRequest" HOT 1
- How to abort a request? HOT 1
- Unable to send multipart/form-data request HOT 2
- Incorrect handling of response data
- reqwest promise with Nock HOT 1
- in IOS/Android webview, CORS, reqwest run error
- cache
- when I use reqwest post file,there is error: nested exception is java.lang.NullPointerException
- No err was throwed when network disconnected
- Ability to disable TLS at compile time? HOT 1
- CORS error when trying to get google geocoding HOT 4
- not support more than 16 integer data in response data
- how can i get response head HOT 3
- Type settings jsonp, jsonpCallback and jsonpCallbackName are not added, there will be default callback? HOT 1
- greenhouse HOT 1
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 reqwest.