title: How to correct the [Composer\Downloader\TransportException] error for composer
body: <p>Good day people, I have been having this problem for days now, when I try to download dependencies for my php project using composer I get this error</p>
  
  <pre><code>c:\wamp64\www\Test&gt;composer global require "fxp/composer-asset-plugin:^1.3.1"
  Changed current directory to C:/Users/Nwachukwu Favour/AppData/Roaming/Composer
  ./composer.json has been updated
  Loading composer repositories with package information
  Updating dependencies (including require-dev)
  
  Installation failed, reverting ./composer.json to its original content.
  
  
    [Composer\Downloader\TransportException]
    The "http://packagist.org/p/provider-2014%241cf88bd0ed4076dc091407477ba2a76483e8598ee5365673381262e6c1d40fcf.jso
    n" file could not be downloaded: failed to open stream: HTTP request failed!
  
  
  require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [&lt;packages&gt;]...
  </code></pre>
  
  <p>I am running a windows 10 OS and am suspecting that my system cannot download from the command line. I would be very glad if someone can help me solve this problem because it is hindering my project. Thanks in advance.</p>