Skip to content

http (feature): Support adding attachment to the request #3880

Open
@xerial

Description

@xerial

Support adding context parameters to the http request (HttpRequest), including:

  • RPC context (e.g., RPC method, arguments)
  • logging context parameters (e.g., authorized user)

This is because thread-local storage is unreliable, so using Request object is safer.
Add a mutable parameter to HttpRequest, while maintaining immutability for other parameters.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions