Skip to content
  • Herbert Valerio Riedel's avatar
    Add OS and arch to HTTP user-agent string · d0527418
    Herbert Valerio Riedel authored and tibbe's avatar tibbe committed
    This makes the HTTP user-agent field look like so:
    
        User-Agent: cabal-install/1.21.0.0 (linux; x86_64)
    
    This allows us to gather more statistics about our user-base as
    with the current user-agent string we can only do a rough break-down by
    cabal-install version numbers.
    
    (cherry picked from commit bd0fcd55)
    d0527418