Closed trezm closed 6 years ago
Currently set_body only accepts a String, which limits the useability of the api. This moves set_body to accepting a Vec<u8> which is not limited by utf8 strings.
set_body
String
Vec<u8>
This resolves [#72] by updating the builtins::send::file middleware.
builtins::send::file
Currently
set_body
only accepts aString
, which limits the useability of the api. This movesset_body
to accepting aVec<u8>
which is not limited by utf8 strings.This resolves [#72] by updating the
builtins::send::file
middleware.