summaryrefslogtreecommitdiff
path: root/lib/http_codes.rb
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-09-25 14:26:35 +0000
committerNick Thomas <nick@gitlab.com>2018-09-25 14:26:35 +0000
commit5f12a6a41a46800841ba02e72a6a4eb6d5e129ae (patch)
tree990d233c522bfbcba0a1000ce6d31e4b078fd8aa /lib/http_codes.rb
parentdd54651b987c473fc42ae6c81daf0a47a92f9dca (diff)
downloadgitlab-shell-5f12a6a41a46800841ba02e72a6a4eb6d5e129ae.tar.gz
Display helpful feedback when proxying an SSH git push to secondary request (v2)
Diffstat (limited to 'lib/http_codes.rb')
-rw-r--r--lib/http_codes.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/http_codes.rb b/lib/http_codes.rb
deleted file mode 100644
index 5f79095..0000000
--- a/lib/http_codes.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-module HTTPCodes
- HTTP_SUCCESS = '200'.freeze
- HTTP_CREATED = '201'.freeze
- HTTP_MULTIPLE_CHOICES = '300'.freeze
- HTTP_UNAUTHORIZED = '401'.freeze
- HTTP_NOT_FOUND = '404'.freeze
- HTTP_SUCCESS_CODES = [HTTP_SUCCESS, HTTP_CREATED, HTTP_MULTIPLE_CHOICES].freeze
-end