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

jhttp: extend and simplify request processing hooks #65

Merged
merged 4 commits into from
Dec 4, 2021

Commits on Dec 4, 2021

  1. jhttp: extend and simplify request processing hooks

    Add a new hook to the Bridge options to allow the caller to handle parsing the
    HTTP request into JSON-RPC requests. Remove the old content-type check hook.
    
    The request check hook remains, but setting either it or the new parse hook
    disables the default method POST and content-type checks; the hooks are now
    fully responsible for checking the structure of the request.
    
    Without either of these hooks set, the default behaviour does not change.
    creachadair committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    88e78af View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f01de2e View commit details
    Browse the repository at this point in the history
  3. fix whitespace

    creachadair committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    47f8098 View commit details
    Browse the repository at this point in the history
  4. simplify option defaults

    creachadair committed Dec 4, 2021
    Configuration menu
    Copy the full SHA
    8ab763e View commit details
    Browse the repository at this point in the history