lib/cuba_api/write_aspect.rb in cuba-api-0.5.0 vs lib/cuba_api/write_aspect.rb in cuba-api-0.5.1

- old
+ new

@@ -37,10 +37,10 @@ def aspects self[ :aspects ] ||= [] end end - def head( status ) + def no_body( status ) res.status = Rack::Utils.status_code( status ) res.write Rack::Utils::HTTP_STATUS_CODES[ res.status ] res['Content-Type' ] = 'text/plain' end