1. 10 Aug, 2021 1 commit
  2. 20 Jun, 2021 1 commit
  3. 29 Apr, 2020 4 commits
  4. 06 Apr, 2020 1 commit
  5. 04 Apr, 2020 1 commit
    • Steven Allen's avatar
      change HandledMethods to AllowGet and cleanup method handling · 3093cad8
      Steven Allen authored
      Allowing methods isn't as simple as just allowing/disallowing them because
      different methods do different things.
      
      * HEAD: should be allowed everywhere GET is allowed.
      * OPTIONS:
        * When a CORS request is made, this will be handled by the CORS library.
        * Otherewise, we need to return the allowed methods.
      * POST: always allowed.
      * Everything else: always denied.
      
      Changing HandledMethods to a simple AllowGet makes it easier to "do the right
      thing".
      3093cad8
  6. 03 Apr, 2020 2 commits
  7. 25 May, 2019 1 commit
  8. 13 May, 2019 1 commit
  9. 13 Dec, 2018 4 commits
  10. 26 Oct, 2018 2 commits
  11. 25 Oct, 2018 1 commit
  12. 31 Jul, 2018 1 commit
  13. 16 Feb, 2018 1 commit
    • Steven Allen's avatar
      cleaner command completion/calling · 294e20f6
      Steven Allen authored
      **Returning errors/calling:**
      
      Instead of having a dance where we:
        * Close the response emitter immediately if the command succeeds.
        * Return an error, call SetError, and then close the response emitter if it
          fails.
      
      Just set the error from within the `Call` command and always close the response
      emitter.
      
      **Doner**
      
      Get rid of the Done channel/doner interface from the response emitter. We close
      the response emitter after finishing the Call *anyways* so this channel isn't
      necessary (anymore, at least).
      294e20f6
  14. 19 Jan, 2018 1 commit
    • Steven Allen's avatar
      Don't handle timeouts in Execute. · 75fbbeaf
      Steven Allen authored
      Instead, handle it at the boundaries (in ServeHTTP and the CLI's Run function).
      This ensures that we actually *wait* to finish writing everything before
      canceling the context.
      75fbbeaf
  15. 08 Jan, 2018 1 commit
  16. 22 Dec, 2017 1 commit
  17. 21 Dec, 2017 1 commit
  18. 13 Dec, 2017 2 commits
  19. 12 Dec, 2017 1 commit
  20. 07 Dec, 2017 1 commit
  21. 22 Nov, 2017 1 commit
  22. 08 Jun, 2017 2 commits
  23. 20 Apr, 2017 1 commit
  24. 22 Mar, 2017 1 commit
  25. 21 Mar, 2017 1 commit
  26. 13 Mar, 2017 3 commits
  27. 16 Feb, 2017 1 commit
    • Jan Winkelmann's avatar
      getting there... · af6aa2e8
      Jan Winkelmann authored
      - made Response.Request() return Request not *Request
      - added ResponseEmitter.Tee()
      - added a wrapper that wraps a Response and provides an oldcmds.Response
      af6aa2e8
  28. 13 Feb, 2017 1 commit