~ubuntu-branches/debian/sid/lexicon/sid

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/pointhq/IntegrationTests/test_Provider_when_calling_create_record_for_A_with_valid_name_and_content.yaml

  • Committer: Package Import Robot
  • Author(s): Ana Custura
  • Date: 2018-03-02 22:36:08 UTC
  • Revision ID: package-import@ubuntu.com-20180302223608-4e2sghral3uifgq7
Tags: upstream-2.1.21
ImportĀ upstreamĀ versionĀ 2.1.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
interactions:
 
2
- request:
 
3
    body: '{}'
 
4
    headers:
 
5
      Accept: [application/json]
 
6
      Accept-Encoding: ['gzip, deflate']
 
7
      Connection: [keep-alive]
 
8
      Content-Length: ['2']
 
9
      Content-Type: [application/json]
 
10
      User-Agent: [python-requests/2.9.1]
 
11
    method: GET
 
12
    uri: https://pointhq.com/zones/capsulecd.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"zone":{"id":170389,"name":"capsulecd.com","group":"Default
 
15
        Group","user-id":26963,"ttl":3600}}'}
 
16
    headers:
 
17
      access-control-allow-origin: ['*']
 
18
      cache-control: ['must-revalidate, private, max-age=0', max-age=3600]
 
19
      connection: [keep-alive]
 
20
      content-type: [application/json]
 
21
      date: ['Fri, 15 Apr 2016 02:59:48 GMT']
 
22
      etag: ['"64759825f5fbcfb9ee3f1ac1c0819f88"']
 
23
      server: [nginx]
 
24
      set-cookie: [_passenger_route=283609999; Path=/]
 
25
      status: [200 OK]
 
26
      x-content-type-options: [nosniff]
 
27
      x-frame-options: [SAMEORIGIN]
 
28
      x-rack-cache: [miss]
 
29
      x-request-id: [2e06d247ee4cf6cadee6838a23474599]
 
30
      x-runtime: ['0.006859']
 
31
      x-ua-compatible: ['IE=Edge,chrome=1']
 
32
      x-xss-protection: [1; mode=block]
 
33
    status: {code: 200, message: OK}
 
34
- request:
 
35
    body: '{"zone_record": {"record_type": "A", "data": "127.0.0.1", "name": "localhost"}}'
 
36
    headers:
 
37
      Accept: [application/json]
 
38
      Accept-Encoding: ['gzip, deflate']
 
39
      Connection: [keep-alive]
 
40
      Content-Length: ['79']
 
41
      Content-Type: [application/json]
 
42
      User-Agent: [python-requests/2.9.1]
 
43
    method: POST
 
44
    uri: https://pointhq.com/zones/170389/records
 
45
  response:
 
46
    body: {string: !!python/unicode '{"zone_record":{"name":"localhost.capsulecd.com.","data":"127.0.0.1","id":104409911,"aux":null,"record_type":"A","ttl":3600,"zone_id":170389}}'}
 
47
    headers:
 
48
      access-control-allow-origin: ['*']
 
49
      cache-control: ['max-age=0, private, must-revalidate', max-age=3600]
 
50
      connection: [keep-alive]
 
51
      content-type: [application/json]
 
52
      date: ['Fri, 15 Apr 2016 02:59:49 GMT']
 
53
      etag: ['"f162a9fcdc185311972c5bf22c12e0ae"']
 
54
      server: [nginx]
 
55
      set-cookie: [_passenger_route=283609999; Path=/]
 
56
      status: [201 Created]
 
57
      x-content-type-options: [nosniff]
 
58
      x-frame-options: [SAMEORIGIN]
 
59
      x-rack-cache: ['invalidate, pass']
 
60
      x-request-id: [4c26f7bd344f973ad72966cf4784bae6]
 
61
      x-runtime: ['0.036084']
 
62
      x-ua-compatible: ['IE=Edge,chrome=1']
 
63
      x-xss-protection: [1; mode=block]
 
64
    status: {code: 201, message: Created}
 
65
version: 1