athena-framework / athena

An ecosystem of reusable, independent components
https://athenaframework.org
MIT License
211 stars 17 forks source link

Question: HTTP::Response being truncated on large payload #287

Closed skinnyjames closed 1 year ago

skinnyjames commented 1 year ago

ATH::Response appears to truncate large payloads. I don't think this is an issue with http/server or io, as both STDOUT.puts and HTTP::Server::Response#write both write the complete payload.

It's important to note that ATH::StreamedResponse does write the complete payload, but I'm curious why the former doesn't.

Happy to share a reproducible payload, but omitting due to size.