MCPcopy Create free account
hub / github.com/acl-dev/acl / date_format

Method date_format

lib_acl_cpp/src/http/http_header.cpp:420–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void http_header::date_format(char* out, size_t size, time_t t)
421{
422 const char* ptr = http_mkrfc1123(out, size, t);
423 if (*ptr == 0) {
424 logger_error("gmtime error %s", last_serror());
425 }
426}
427
428bool http_header::is_request() const
429{

Callers 1

Calls 2

http_mkrfc1123Function · 0.85
last_serrorFunction · 0.50

Tested by

no test coverage detected