From 10092e3bd52dc8a3e722b5f072bc9676647fcf40 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 31 Aug 2015 20:08:55 +0200 Subject: [PATCH] mod_http_upload: Use DEFAULT_CONTENT_TYPE macro --- mod_http_upload/src/mod_http_upload.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_http_upload/src/mod_http_upload.erl b/mod_http_upload/src/mod_http_upload.erl index ce1db55..1c3e2f3 100644 --- a/mod_http_upload/src/mod_http_upload.erl +++ b/mod_http_upload/src/mod_http_upload.erl @@ -638,7 +638,7 @@ expand_host(Subject, Host) -> -spec yield_content_type(binary()) -> binary(). -yield_content_type(<<"">>) -> <<"application/octet-stream">>; +yield_content_type(<<"">>) -> ?DEFAULT_CONTENT_TYPE; yield_content_type(Type) -> Type. -spec iq_disco_info(binary(), binary()) -> [xmlel()].