Don't leave content-length on empty response
This commit is contained in:
@@ -312,6 +312,7 @@ public:
|
||||
});
|
||||
}
|
||||
|
||||
// this can be removed? or at least set by default to something like Apache server does
|
||||
void onUnhandled(std::function<void(uWS::HttpResponse<SSL> *, uWS::HttpRequest *)> handler) {
|
||||
HttpContextData<SSL> *httpContextData = getSocketContextData();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user