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()].