diff --git a/httpserver/httpserver.c b/httpserver/httpserver.c index 78690ea105..a7a811bdca 100644 --- a/httpserver/httpserver.c +++ b/httpserver/httpserver.c @@ -212,8 +212,10 @@ static int httpserver_handle_get_mmap(struct mg_connection* conn, void* cbdata) mg_printf(conn, "{" "\"length\":" STRING_REP_UINT64 "," + "\"compression\":\"deflate\"," "\"compressedLength\":" STRING_REP_ULONG "," - "\"bytesZ85\":\"%s\"" + "\"encoding\":\"Z85\"," + "\"data\":\"%s\"" "}", mmap->len, (size_t)buflen,