Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4044

Use angular $http service instead of node request module

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Obsolete
    • Critical
    • 11.2.0.AM2
    • 10.2.0.AM1
    • platform-installer
    • None

    Description

      Since April $http service seems to support progress reporting for http requests:
      1. See httpspec.js in this commit;
      2. XMLHTTPRequest documentation here.

      Questions:
      1. Does it support redirects?
      2. How authentication is supported?

      Benefits:
      1. Native browser service, so probably should be working faster;
      2. Proxy settings picked up from system settings, so there is no need to set up environment variables before running the installer.

      Drawbacks:
      1. Proxy errors are not detectable It just printed out to console without providing info trough returning error parameter for callback;
      2. No third party multi-threaded downloaders that would support restarting download from the position where it failed.

      Attachments

        Activity

          People

            nivologd@gmail.com Denis Golovin (Inactive)
            nivologd@gmail.com Denis Golovin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: