summaryrefslogtreecommitdiff
path: root/spec/vcr_cassettes/pre-receive.yml
blob: 6072d0ca0b945337a66f478c08f5d01b10af2d2e (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/pre_receive
    body:
      encoding: US-ASCII
      string: gl_repository=project-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:
      - '36'
      Content-Type:
      - application/json
      Date:
      - Thu, 31 Aug 2017 20:17:41 GMT
      Etag:
      - W/"7d4df85c493bd3d421351aa791a8fbf6"
      Vary:
      - Origin
      X-Frame-Options:
      - SAMEORIGIN
      X-Request-Id:
      - f0c84103-8dc0-48ea-a142-62554f6bca3d
      X-Runtime:
      - '0.612997'
    body:
      encoding: UTF-8
      string: '{"reference_counter_increased":true}'
    http_version:
  recorded_at: Thu, 31 Aug 2017 20:17:41 GMT
recorded_with: VCR 2.4.0