Closed nqf closed 1 year ago
HttpResponsePtr HttpResponse::newHttpResponse(HttpStatusCode code, ContentType type) { auto res = std::make_shared<HttpResponseImpl>(code, type); doResponseCreateAdvices(res); return res; }
Yes, you could make a PR for this.
https://github.com/drogonframework/drogon/pull/1646