You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] deferred_response never sends content string passed to constructor #331
The deferred_response constructor includes a const std::string& content = "" parameter that is documented as:
Besides the callback, optionally, you can provide a content parameter that sets the initial message sent immediately to the client.
The content parameter is passed to the base class string_response constructor where it is assigned to the content member but never actually consumed because string_response::get_raw_response() is never called.
This behavior might appear to have been removed by ed0841d in #145, but it likely didn't work even in eea93bd because get_raw_response() is a virtual function.
The tests don't expect the content parameter to be sent either:
Activity
Fix deferred_response content parameter not being used (issue #331)
Fix deferred_response content parameter not being used (issue #331) (#…
etr commentedon Jan 28, 2026
Fixed in PR #352