- 29 Apr, 2020 1 commit
-
-
Hector Sanjuan authored
* Staticcheck fixes This fixes all staticcheck warnings for this library.
-
- 06 Apr, 2020 2 commits
-
-
Hector Sanjuan authored
-
Hector Sanjuan authored
Addresses browsers being able to POST without control due to things like https://bugzilla.mozilla.org/show_bug.cgi?id=429594
-
- 04 Apr, 2020 1 commit
-
-
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".
-
- 03 Apr, 2020 1 commit
-
-
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.
-
- 08 Jan, 2018 1 commit
-
-
Steven Allen authored
fixes #42
-
- 22 Dec, 2017 1 commit
-
-
keks authored
-
- 21 Dec, 2017 1 commit
-
-
keks authored
-