Skip to content

Commit

Permalink
Merge pull request #2363 from Geod24/obnoxious
Browse files Browse the repository at this point in the history
Trivial: Remove leftover development logDebug
merged-on-behalf-of: Sönke Ludwig <[email protected]>
  • Loading branch information
dlang-bot authored Sep 5, 2019
2 parents da8d305 + f08ad89 commit d4e60c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/vibe/web/rest.d
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,6 @@ private HTTPServerRequestDelegate jsonMethodHandler(alias Func, size_t ridx, T)(
void handler(HTTPServerRequest req, HTTPServerResponse res)
@safe {
if (route.bodyParameters.length) {
logDebug("BODYPARAMS: %s %s", Method, route.bodyParameters.length);
/*enforceBadRequest(req.contentType == "application/json",
"The Content-Type header needs to be set to application/json.");*/
enforceBadRequest(req.json.type != Json.Type.undefined,
Expand Down

0 comments on commit d4e60c4

Please sign in to comment.