Skip to content

Commit

Permalink
Typo in content type for delete request tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fuchsch1234 authored and whoshuu committed Aug 7, 2016
1 parent dfe3eac commit ee29db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/server.cpp
Expand Up @@ -363,7 +363,7 @@ static int deleteRequest(struct mg_connection* conn) {
} else {
auto response = std::string{conn->content, conn->content_len};
mg_send_status(conn, 200);
mg_send_header(conn, "content-type", "text/html");
mg_send_header(conn, "content-type", "application/json");
mg_send_data(conn, response.data(), response.length());
}
} else {
Expand Down

0 comments on commit ee29db0

Please sign in to comment.