Skip to content

airframe-http: Support HttpMessage.Request/Response filters #1133

@xerial

Description

@xerial

Currently we can implement only backend-specific filters (e.g., FinagleFilter) other than HTTP Endpoint/RPC.

To support backend-http server independent Endpoint/RPC testing (e.g., tests forHttpServerException, error responses, etc.), we need a filter adapter (e.g., filters written for HttpMessage.Request, Response, and F (abstraction for backend-specific Future), and translates it into FinagleFilter.

Then we can move filters like FinagleServer.errorFilter into Router.errorFilter.

http logging filter can be ported as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions