MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / expect_content

Function expect_content

dependencies/httplib/httplib.h:4154–4161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4152}
4153
4154inline bool expect_content(const Request &req) {
4155 if (req.method == "POST" || req.method == "PUT" || req.method == "PATCH" ||
4156 req.method == "PRI" || req.method == "DELETE") {
4157 return true;
4158 }
4159 // TODO: check if Content-Length is set
4160 return false;
4161}
4162
4163inline bool has_crlf(const char *s) {
4164 auto p = s;

Callers 1

routingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected