0
Fork 0
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:
Loïc Hoguin 2019-10-10 15:53:26 +02:00
parent ecb39eea10
commit a73004e966
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
4 changed files with 9 additions and 22 deletions

View file

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