summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes/http-push-disabled.yml
blob: 676e5b8b4bc69a1e1e413dc40447aa44cfb15113 (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-receive-pack&changes=0000000000000000000000000000000000000000+92d0970eefd7acb6d548878925ce2208cfe2d2ec+refs%2Fheads%2Fbranch4&gl_repository&project=gitlab-org%2Fgitlab-test.git&protocol=http&env=%7B%7D&key_id=1&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:
      - '62'
      Content-Type:
      - application/json
      Date:
      - Wed, 21 Jun 2017 10:32:01 GMT
      Etag:
      - W/"7f14e23ac07cc8b0a53c567fcf9432fd"
      Vary:
      - Origin
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - 573f3584-87c6-41cb-a5bf-5e7ee76d4250
      X-Runtime:
      - '0.266135'
    body:
      encoding: UTF-8
      string: '{"status":false,"message":"Pushing over HTTP is not allowed."}'
    http_version: 
  recorded_at: Wed, 21 Jun 2017 10:32:01 GMT
recorded_with: VCR 2.4.0