summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes/ssh-pull-project-denied-401-text-plain.yml
blob: e07249390a7ff9cf0179bb07c26e28fcddaca6a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/api/v4/internal/allowed
    body:
      encoding: US-ASCII
      string: action=git-upload-pack&changes=0000000000000000000000000000000000000000+92d0970eefd7acb6d548878925ce2208cfe2d2ec+refs%2Fheads%2Fbranch4&gl_repository&project=gitlab-org%2Fgitlab-test.git&protocol=ssh&env=%7B%7D&key_id=2&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: 401
      message: Unauthorized
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '63'
      Content-Type:
      - text/plain
      Date:
      - Wed, 21 Jun 2017 12:24:04 GMT
      Etag:
      - W/"76a32010244f80700d5e1ba8a55d094c"
      Vary:
      - Origin
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - 8ce54f29-9ed0-46e5-aedb-37edaa3d52da
      X-Runtime:
      - '0.228256'
    body:
      encoding: UTF-8
      string: 'Git access over SSH is not allowed'
    http_version:
  recorded_at: Wed, 21 Jun 2017 12:24:04 GMT
recorded_with: VCR 2.4.0