Skip to content

hproxy: use JSON-RPC responses #693

@AL-CT

Description

@AL-CT

Confirmation

  • I have checked for similar issues.

Problem

Hproxy should write responses in JSON-RPC format, rather than basic HTTP responses. This will allow for clearer errors and information being relayed to the client, as HTTP Status codes are currently 'abused' or over-generalized to fit the use-case.

Suggested solution

Replace the current code to respond to requests with JSON-RPC responses and errors.

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: hproxyThis is a change to hproxydtype: enhancementThis improves existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions