summaryrefslogtreecommitdiff
path: root/lib/http_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Gitaly hook transistion changesJacob Vosmaer2018-12-201-1/+2
|
* Revert "Merge branch 'sh-bump-ruby-version' into 'master'"Douwe Maan2018-12-131-1/+1
| | | This reverts merge request !257
* Upgrade to Ruby 2.5.3Stan Hu2018-12-131-1/+1
|
* Remove circular dependency between HTTPHelper and GitlabNetsh-fix-circular-dependency-errorsStan Hu2018-11-271-0/+1
| | | | | | | | | HttpHelper depended on exceptions defined in GitLabNet, but GitLabNet included HttpHelper. Specs in Ruby 2.5 were breaking as a result of Action::Custom not able to reference constants in GitLabNet: https://gitlab.com/gitlab-org/gitlab-shell/-/jobs/126362702. Closes https://gitlab.com/gitlab-org/gitlab-shell/issues/169
* Display helpful feedback when proxying an SSH git push to secondary request ↵Ash McKenzie2018-09-251-3/+0
| | | | (v2)
* Consider 300 a successful response alsoAsh McKenzie2018-09-131-1/+2
|
* Ensure text/plain & text/html content typs are handled and add missing specs ↵Ash McKenzie2018-09-111-0/+1
| | | | for handled HTTP status codes
* Move some GitlabNet requires into HTTPHelperAsh McKenzie2018-09-071-0/+2
|
* New HTTPCodes moduleAsh McKenzie2018-09-071-0/+4
|
* Revert "Merge branch 'ash.mckenzie/srp-refactor' into 'master'"Nick Thomas2018-08-141-17/+2
| | | | | This reverts commit 3aaf4751e09262c53544a1987f59b1308af9b6c1, reversing changes made to c6577e0d75f51b017f2f332838b97c3ca5b497c0.
* Rename NotFound -> NotFoundErrorAsh McKenzie2018-08-011-1/+1
|
* HTTPHelper fix requires, add/use status constantsAsh McKenzie2018-08-011-2/+15
|
* Move HTTP related exceptions into HTTPHelperAsh McKenzie2018-08-011-0/+2
|
* Support HTTP headers and sending JSONAsh McKenzie2018-07-201-10/+16
|
* Rename HTTPHelper#host to #internal_api_endpointAsh McKenzie2018-07-201-1/+1
|
* Add #base_api_endpoint for re-usabilityAsh McKenzie2018-07-201-1/+5
|
* Move HTTP logic out into HTTPHelperAsh McKenzie2018-07-201-0/+108