1. 29 Apr, 2020 4 commits
  2. 06 Apr, 2020 1 commit
  3. 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
  4. 03 Apr, 2020 2 commits
  5. 25 May, 2019 1 commit
  6. 13 May, 2019 1 commit
  7. 13 Dec, 2018 4 commits
  8. 26 Oct, 2018 2 commits
  9. 25 Oct, 2018 1 commit
  10. 31 Jul, 2018 1 commit
  11. 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
  12. 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
  13. 08 Jan, 2018 1 commit
  14. 22 Dec, 2017 1 commit
  15. 21 Dec, 2017 1 commit
  16. 13 Dec, 2017 2 commits
  17. 12 Dec, 2017 1 commit
  18. 07 Dec, 2017 1 commit
  19. 22 Nov, 2017 1 commit
  20. 08 Jun, 2017 2 commits
  21. 20 Apr, 2017 1 commit
  22. 22 Mar, 2017 1 commit
  23. 21 Mar, 2017 1 commit
  24. 13 Mar, 2017 3 commits
  25. 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
  26. 13 Feb, 2017 1 commit
  27. 01 Feb, 2017 1 commit
  28. 28 Jan, 2017 1 commit