mod_http_upload: Apply minor cosmetic changes
This commit is contained in:
parent
511f0fa03d
commit
c37387984a
|
@ -8,9 +8,9 @@
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
This module allows for requesting permissions to upload a file via HTTP.
|
This module allows for requesting permissions to upload a file via HTTP. If
|
||||||
If the request is accepted, the client receives a URL to use for uploading
|
the request is accepted, the client receives a URL to use for uploading the
|
||||||
the file and another URL from which that file can later be downloaded.
|
file and another URL from which that file can later be downloaded.
|
||||||
|
|
||||||
Automatic quota management can be configured by also enabling
|
Automatic quota management can be configured by also enabling
|
||||||
mod_http_upload_quota.
|
mod_http_upload_quota.
|
||||||
|
|
|
@ -153,7 +153,7 @@ mod_opt_type(access) ->
|
||||||
fun(A) when is_atom(A) -> A end;
|
fun(A) when is_atom(A) -> A end;
|
||||||
mod_opt_type(max_size) ->
|
mod_opt_type(max_size) ->
|
||||||
fun(I) when is_integer(I), I > 0 -> I;
|
fun(I) when is_integer(I), I > 0 -> I;
|
||||||
(infinity) -> infinity
|
(infinity) -> infinity
|
||||||
end;
|
end;
|
||||||
mod_opt_type(secret_length) ->
|
mod_opt_type(secret_length) ->
|
||||||
fun(I) when is_integer(I), I >= 8 -> I end;
|
fun(I) when is_integer(I), I >= 8 -> I end;
|
||||||
|
|
Loading…
Reference in New Issue