From 0def0846bfe37727fe9598d06a7e9b21ba1aa632 Mon Sep 17 00:00:00 2001 From: Craig Everett Date: Sat, 11 Oct 2025 15:45:05 +0900 Subject: [PATCH] Add map type to body (zj return) --- include/http.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/http.hrl b/include/http.hrl index a4ce8ea..7701f28 100644 --- a/include/http.hrl +++ b/include/http.hrl @@ -20,6 +20,6 @@ -type method() :: get | post | options. -type multipart() :: {multipart, Boundary :: binary()}. --type body() :: {partial, binary()} | {multipart, [body_part()]} | binary(). +-type body() :: {partial, binary()} | {multipart, [body_part()]} | binary() | map(). -type body_part() :: {Field :: binary(), Data :: binary()} | {Field :: binary(), Name :: binary(), Data :: binary()}.