X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d07277efba0c0069705bbefa68f2624a9c6c9ff0..9c5c71f2d7413c280c046f45d9b0565981c7bbab:/config/environment.rb diff --git a/config/environment.rb b/config/environment.rb index b55fbe441..ac50d21f7 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -61,3 +61,18 @@ ActionMailer::Base.server_settings = { :port => 25, :domain => 'localhost', } + + +# HTTP CODES + +# 200's + +HTTP_OK = 200 + +# 400's + +HTTP_PRECONDITION_FAILED = 412 +HTTP_EXPECTATION_FAILED = 417 + + +