malloy icon indicating copy to clipboard operation
malloy copied to clipboard

HTTP: Improve cookie handling

Open Tectu opened this issue 2 years ago • 0 comments

The http::request constructor accepting an rvalue of the underlying beast request currently parses cookies. However, this doesn't really make sense. We should only parse cookies when we really need them. This should happen outside of the http::request type. We already have http::cookie_value for this.

Furthermore, the cookie handling between an http::request and an http::response should be the same. The same free standing functions can be used.

Tectu avatar Dec 26 '23 03:12 Tectu