lib/reel/rack/server.rb in reel-rack-0.2.2 vs lib/reel/rack/server.rb in reel-rack-0.2.3
- old
+ new
@@ -100,10 +100,10 @@
env['HTTP_X_FORWARDED_PROTO'] == 'https' ? 443 : 80
end
def status_symbol(status)
if status.is_a?(Fixnum)
- Http::Response::STATUS_CODES[status].downcase.gsub(/\s|-/, '_').to_sym
+ Reel::Response::STATUS_CODES[status].downcase.gsub(/\s|-/, '_').to_sym
else
status.to_sym
end
end
end