mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Fix a number of low hanging todos
This commit is contained in:
parent
ecb39eea10
commit
a73004e966
4 changed files with 9 additions and 22 deletions
|
@ -107,7 +107,6 @@
|
|||
|
||||
%% While sendfile allows a Len of 0 that means "everything past Offset",
|
||||
%% Cowboy expects the real length as it is used as metadata.
|
||||
%% @todo We should probably explicitly reject it.
|
||||
-type resp_body() :: iodata()
|
||||
| {sendfile, non_neg_integer(), non_neg_integer(), file:name_all()}.
|
||||
-export_type([resp_body/0]).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue