File 0300-inets-remove-apache-config-ref-from-manual.patch of Package erlang
From 27d5b6659052339ec8b429a13e9c988ed0972f89 Mon Sep 17 00:00:00 2001
From: Jakub Witczak <kuba@erlang.org>
Date: Mon, 9 May 2022 12:10:45 +0200
Subject: [PATCH] inets: remove apache config ref from manual
- remove reference to Apache-like config file which is not supported anymore
---
lib/inets/doc/src/httpd.xml | 8 +-------
lib/inets/src/http_server/httpd_sup.erl | 2 +-
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/lib/inets/doc/src/httpd.xml b/lib/inets/doc/src/httpd.xml
index 3b44a66340..834ab8830c 100644
--- a/lib/inets/doc/src/httpd.xml
+++ b/lib/inets/doc/src/httpd.xml
@@ -274,13 +274,7 @@
Files delivered to the client are MIME typed according to RFC
1590. File suffixes are mapped to MIME types before file delivery.
The mapping between file suffixes and MIME types can be specified
- as an Apache-like file or directly in the property list. Such
- a file can look like the following:</p>
- <pre>
-# MIME type Extension
-text/html html htm
-text/plain asc txt</pre>
-
+ in the property list.</p>
<p>Default is [{"html","text/html"},{"htm","text/html"}].</p>
</item>
diff --git a/lib/inets/src/http_server/httpd_sup.erl b/lib/inets/src/http_server/httpd_sup.erl
index cedcf6f465..32355a9fc3 100644
--- a/lib/inets/src/http_server/httpd_sup.erl
+++ b/lib/inets/src/http_server/httpd_sup.erl
@@ -104,7 +104,7 @@ init([HttpdServices]) ->
%% The format of the httpd service is:
%% httpd_service() -> {httpd,httpd()}
%% httpd() -> [httpd_config()] | file()
-%% httpd_config() -> {file,file()} |
+%% httpd_config() -> {proplist_file,file()} |
%% {debug,debug()} |
%% {accept_timeout,integer()}
%% debug() -> disable | [debug_options()]
--
2.35.3