From b926899b7c2cdf8ff8c46d194b8d5e8659c54956 Mon Sep 17 00:00:00 2001 From: Sally Mclean Date: Tue, 19 Dec 2023 17:56:41 +0100 Subject: [PATCH] tesT --- src/lambda_http.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lambda_http.rb b/src/lambda_http.rb index bb5cc40..46fef8a 100644 --- a/src/lambda_http.rb +++ b/src/lambda_http.rb @@ -23,10 +23,10 @@ def serve_static_file(path) end response = app.call('PATH_INFO' => path, 'REQUEST_METHOD' => 'GET') - puts response + puts "Response: #{response.inspect}" content = '' response[2].each { |part| content << part } - puts content + puts content.inspect { 'statusCode' => response[0],