diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2018-11-07 10:07:52 +1100 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2018-11-08 09:52:10 +1100 |
commit | 1c6a8d1d70c1603c73fb9bcb8f440dbf97988e89 (patch) | |
tree | a83d262d697d3d5265716ddd8bf7650870063eca /spec/vcr_cassettes/lfs-authenticate-ok-upload.yml | |
parent | 9cf3334cb5cdf871266a2b9538589e36efd788e1 (diff) | |
download | gitlab-shell-1c6a8d1d70c1603c73fb9bcb8f440dbf97988e89.tar.gz |
Include LFS operation when making auth requestashmckenzie/8114-geo-push-ssh-lfs-http-auth-bug
Operation is either upload or download
Diffstat (limited to 'spec/vcr_cassettes/lfs-authenticate-ok-upload.yml')
-rw-r--r-- | spec/vcr_cassettes/lfs-authenticate-ok-upload.yml | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/spec/vcr_cassettes/lfs-authenticate-ok-upload.yml b/spec/vcr_cassettes/lfs-authenticate-ok-upload.yml new file mode 100644 index 0000000..e4fa335 --- /dev/null +++ b/spec/vcr_cassettes/lfs-authenticate-ok-upload.yml @@ -0,0 +1,46 @@ +--- +http_interactions: +- request: + method: post + uri: http://localhost:3000/api/v4/internal/lfs_authenticate + body: + encoding: US-ASCII + string: project=gitlab-org%2Fgitlab-test.git&key_id=1&operation=upload&secret_token=0a3938d9d95d807e94d937af3a4fbbea%0A + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + Content-Type: + - application/x-www-form-urlencoded + response: + status: + code: 200 + message: OK + headers: + Cache-Control: + - max-age=0, private, must-revalidate + Content-Length: + - '158' + Content-Type: + - application/json + Date: + - Wed, 21 Jun 2017 10:44:50 GMT + Etag: + - W/"0a8ccf1603566e521c169d5e43c86cd2" + Vary: + - Origin + X-Frame-Options: + - SAMEORIGIN + X-Request-Id: + - d82d6071-1868-4a37-b026-65ab37f96f2f + X-Runtime: + - '0.331056' + body: + encoding: UTF-8 + string: '{"username":"root","lfs_token":"Hyzhyde_wLUeyUQsR3tHGTG8eNocVQm4ssioTEsBSdb6KwCSzQ","repository_http_path":"http://localhost:3000/gitlab-org/gitlab-test.git"}' + http_version: + recorded_at: Wed, 21 Jun 2017 10:44:50 GMT +recorded_with: VCR 2.4.0 |