Comments (1)
I'm trying to work on this now, but had a few questions.
- Are
$http
interceptors processed for each individual request or are they processed only for the batch request? Unfortunately,batch-request
doesn't allow headers to be inherited by the individual requests, so headers appended to requests by interceptors must be processed before building the batch request. - Does the URL for GET requests contain the serialized params or does this need to be processed by
buildRequest()
?batch-request
requires the URL to appear in the request body, so Angular won't have a chance to serialize the data if it hasn't done so by the time I start building the batch request. - Is order of requests passed to
buildRequest()
andparseResponse()
guaranteed? I need to uniquely identify each request independently of the other using a String or Number key. Since I can usePOST
requests, the *best approach might be to use the index of the request, if order is guaranteed. If not, can I add a new field to the requests?
from angular-http-batcher.
Related Issues (20)
- " $digest already in progress " Error comes when request callback is called HOT 6
- Absolute URL in config does not work HOT 2
- Easy way to disable batcher for development and testing HOT 6
- Batcher not sending cookies with each request. HOT 10
- Client Cache Support? HOT 1
- Number of items in a request is one larger than maxBatchedRequestPerCall HOT 2
- Usage with NodeJS HOT 4
- setAllowedBatchEndpoint ignores enabled HOT 7
- NPM module HOT 3
- $http.get leading to "TypeError: Cannot read property 'callback' of undefined" HOT 5
- Several differents rootUrls for same app?? HOT 2
- OData adapter needed HOT 7
- adapter for grape-batch request HOT 2
- Batch request (http multipart) response structure HOT 1
- Not able to call Web API 2 Batch Endpoint HOT 2
- BatchRequestManager sendFn - $digest error.
- HTTP requests using methods specified as ignoredVersbs are still batched HOT 1
- service url always taking http:// instead of https:// HOT 3
- Update npm package
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 angular-http-batcher.