airframe icon indicating copy to clipboard operation
airframe copied to clipboard

[WIP] http (feature): Support adding attachment to the request

Open Copilot opened this issue 8 months ago • 0 comments

  • [ ] Analyze current HttpRequest/HttpMessage structure
  • [ ] Add mutable attachment parameter to HttpMessage.Request
  • [ ] Add attachment accessor methods to HttpMessage trait
  • [ ] Ensure attachment is preserved when copying requests
  • [ ] Create focused tests for attachment functionality
  • [ ] Validate that existing functionality remains unchanged
  • [ ] Test build and lint

The goal is to support adding context parameters (RPC context, logging context) to HTTP requests using a mutable attachment system while maintaining immutability for other request parameters.

Fixes #3880.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Jun 02 '25 20:06 Copilot