Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http: configurable allowed request methods for the API. #190

Merged
merged 1 commit into from
Apr 3, 2020

Commits on Apr 3, 2020

  1. Http API: introduced HandledMethods option.

    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.
    hsanjuan committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    2fbebbe View commit details
    Browse the repository at this point in the history