mod_http_upload: Deprecate 'service_url' option

Users should migrate to the 'external_secret' interface.
This commit is contained in:
Holger Weiss 2018-07-18 18:16:42 +02:00
parent 7fed5a3eb6
commit 8ad6afd652
1 changed files with 4 additions and 1 deletions

View File

@ -183,7 +183,10 @@ mod_opt_type(get_url) ->
end;
mod_opt_type(service_url) ->
fun(undefined) -> undefined;
(URL) -> misc:try_url(URL)
(URL) ->
?WARNING_MSG("option 'service_url' is deprecated, consider unsing "
"the 'external_secret' interface instead", []),
misc:try_url(URL)
end;
mod_opt_type(custom_headers) ->
fun(Headers) ->