You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there - I noticed that if a larger request is buffered to a file, read_body_as_string doesn't return any data.
The lapis request object appears to only call ngx.req.get_body_data() which will return nil if the request was buffered to disk. In the OpenResty docs they recommend trying ngx.req.get_body_data(), then falling back to ngx.req.get_body_file()
The text was updated successfully, but these errors were encountered:
Hi there - I noticed that if a larger request is buffered to a file,
read_body_as_string
doesn't return any data.The lapis request object appears to only call
ngx.req.get_body_data()
which will returnnil
if the request was buffered to disk. In the OpenResty docs they recommend tryingngx.req.get_body_data(),
then falling back tongx.req.get_body_file()
The text was updated successfully, but these errors were encountered: