From 019a147d9f59e152a951aff0f9257428f17a7289 Mon Sep 17 00:00:00 2001 From: "Paulo F. Oliveira" Date: Sun, 30 Jun 2024 02:57:04 +0100 Subject: [PATCH] Act on CI results: fix post-rebase issues --- README.md | 2 +- rebar.config | 3 +-- src/elli_http.erl | 4 ++++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 46cc704..98dfac4 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ for you. If you find yourself digging into the implementation of a webserver, then Elli might be for you. If you're building web services, not web sites, then Elli might be for you. -Elli requires OTP 20.0 or newer. +Elli requires OTP 22.0 or newer. ## Installation diff --git a/rebar.config b/rebar.config index b1c4fdb..5af85b3 100644 --- a/rebar.config +++ b/rebar.config @@ -27,7 +27,7 @@ {project_plugins, [ {covertool, "2.0.6"}, - {rebar3_lint, "3.2.5"} + {rebar3_lint, "3.2.5"}, {rebar3_ex_doc, "0.2.23"} ]}. {ex_doc, [ @@ -44,5 +44,4 @@ {doc, #{provider => ex_doc}} ]}. -{provider_hooks, [{pre, [{eunit, lint}]}]}. {dialyzer, [{plt_extra_apps, [ssl]}, {warnings, [unknown]}]}. diff --git a/src/elli_http.erl b/src/elli_http.erl index 490aa76..bcc4a33 100644 --- a/src/elli_http.erl +++ b/src/elli_http.erl @@ -25,6 +25,10 @@ %% operating in handler mode. -export([close_or_keepalive/2]). +-ifdef(TEST). +-export([get_body/5]). +-endif. + -export_type([version/0]). -type version() :: {0, 9} | {1, 0} | {1, 1}.