- Use
flag?
instead.
-ifdef linux
+{% if flag?(:linux) %}
- The
body
type is changed fromString?
toIO?
no overload matches 'Array(String)#<<' with type (HTTP::ChunkedContent | HTTP::Server::Response | HTTP::Server::Response::Output | HTTP::UnknownLengthContent | HTTP::WebSocket::Protocol::StreamIO | IO::ARGF | IO::Delimited | IO::FileDescriptor | IO::Hexdump | IO::Memory | IO::MultiWriter | IO::Sized | JSON::PrettyWriter | OpenSSL::SSL::Socket | String::Builder | Zlib::Deflate | Zlib::Inflate)
- ary << req.body.not_nil! if req.body
+ ary << req.body.not_nil!.gets_to_end if req.body
@asterite Oh, I see. Thanks! 😄