1. 29 Apr, 2020 2 commits
  2. 06 Apr, 2020 2 commits
  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 1 commit
    • Hector Sanjuan's avatar
      Http API: introduced HandledMethods option. · 2fbebbec
      Hector Sanjuan authored
      This Handler option is used it to allow/deny request by their method.
      
      The API is an RPC API so it normally should only work with PUT, but we also
      use a read-only, GET-based partial API that runs with the gateway.
      
      This commit makes the actual allowed (or handled) methods configurable.
      
      A test is added, and test facilities improved to be able to set/modify
      this option.
      2fbebbec
  5. 25 May, 2019 1 commit
  6. 11 May, 2019 1 commit
  7. 26 Oct, 2018 1 commit
  8. 25 Oct, 2018 1 commit
  9. 31 Aug, 2018 1 commit