Giter Club home page Giter Club logo

Comments (1)

c1moore avatar c1moore commented on August 24, 2024

I'm trying to work on this now, but had a few questions.

  1. 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.
  2. 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.
  3. Is order of requests passed to buildRequest() and parseResponse() guaranteed? I need to uniquely identify each request independently of the other using a String or Number key. Since I can use POST 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.