lib/picky/frontend_adapters/rack.rb in picky-3.6.16 vs lib/picky/frontend_adapters/rack.rb in picky-4.0.0pre1

- old
+ new

@@ -88,11 +88,11 @@ # TODO Can Rack handle this for me? # # Note: Rack-mount already handles the 404. # STATUSES = { - 200 => lambda { |_| [200, { 'Content-Type' => 'text/html', 'Content-Length' => '0' }, ['']] }, - 404 => lambda { |_| [404, { 'Content-Type' => 'text/html', 'Content-Length' => '0' }, ['']] } + 200 => lambda { |_| [200, { 'Content-Type' => 'text/html', 'Content-Length' => '0' }, [EMPTY_STRING]] }, + 404 => lambda { |_| [404, { 'Content-Type' => 'text/html', 'Content-Length' => '0' }, [EMPTY_STRING]] } } # # def default_options url, route_options = {} \ No newline at end of file