Skip to content
Snippets Groups Projects
  1. Feb 23, 2022
    • ale's avatar
      Replace gorilla/handlers.ProxyHandler with a simpler implementation · 5ecc19d4
      ale authored
      The ProxyHandler apparently assumes that you're running a gorilla.Mux
      for request routing, as it sets the URL.Scheme field of the incoming
      request - which is normally unset. This has the consequence of messing
      up all sorts of things, including redirects, because the other
      fields (like Host) of the request URL are still going to be unset.
      5ecc19d4
  2. Feb 15, 2022
  3. Feb 05, 2022
  4. Jan 31, 2022
  5. Jan 29, 2022
  6. Jan 04, 2022
  7. Dec 03, 2021
  8. Dec 02, 2021
  9. Nov 26, 2021
  10. Nov 17, 2021
  11. Nov 11, 2021
  12. Oct 03, 2021
    • ale's avatar
      Add optional support for response gzip compression · 4cabb4df
      ale authored
      The clients already support it (via the default net/http.Transport),
      and it can be enabled with a configuration parameter. The default is
      still currently disabled, though there is plan to flip it later to
      enabled-by-default if it proves to be working as expected in
      production.
      
      We also introduce, via a slight refactoring of the Serve() code, a
      test of the top-level http.Handler (with the full middleware stack).
      4cabb4df
    • ale's avatar
      Properly parse Content-Type HTTP headers · f1e753e3
      ale authored
      Use mime.ParseMediaType to obtain the main content type.
      f1e753e3
  13. Sep 21, 2021
  14. Aug 16, 2021
  15. Jun 26, 2021
  16. Jun 19, 2021
  17. Jun 07, 2021
  18. May 31, 2021
  19. May 25, 2021
  20. May 06, 2021
  21. Apr 06, 2021
  22. Apr 01, 2021
  23. Mar 18, 2021
  24. Mar 08, 2021
  25. Mar 04, 2021
  26. Mar 03, 2021
  27. Feb 24, 2021
  28. Feb 20, 2021
  29. Jan 29, 2021
  30. Jan 18, 2021
  31. Jan 10, 2021
  32. Jan 09, 2021
Loading