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

« back to all changes in this revision

Viewing changes to tests/fixtures/cassettes/cloudflare/IntegrationTests/test_Provider_when_calling_create_record_for_TXT_with_full_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: ['*/*']
 
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://api.cloudflare.com/client/v4/zones?status=active&name=capsulecd.com
 
13
  response:
 
14
    body: {string: !!python/unicode '{"result":[{"id":"fac516c650e5a737bdc3e1e3dc1047f3","name":"capsulecd.com","status":"active","paused":false,"type":"full","development_mode":0,"name_servers":["dawn.ns.cloudflare.com","owen.ns.cloudflare.com"],"original_name_servers":["ns1glr.name.com","ns2bls.name.com","ns3nrz.name.com","ns4hny.name.com"],"original_registrar":null,"original_dnshost":null,"modified_on":"2016-03-24T17:04:38.265363Z","created_on":"2016-03-09T07:39:40.476430Z","meta":{"step":4,"wildcard_proxiable":false,"custom_certificate_quota":0,"page_rule_quota":"3","phishing_detected":false,"multiple_railguns_allowed":false},"owner":{"type":"user","id":"521a961001d9333c8191f53a9f70eb31","email":"darkmethodz@gmail.com"},"permissions":["#analytics:read","#billing:edit","#billing:read","#cache_purge:edit","#dns_records:edit","#dns_records:read","#lb:edit","#lb:read","#logs:read","#organization:edit","#organization:read","#ssl:edit","#ssl:read","#waf:edit","#waf:read","#zone:edit","#zone:read","#zone_settings:edit","#zone_settings:read"],"plan":{"id":"0feeeeeeeeeeeeeeeeeeeeeeeeeeeeee","name":"Free
 
15
        Website","price":0,"currency":"USD","frequency":"","legacy_id":"free","is_subscribed":true,"can_subscribe":true,"externally_managed":false}}],"result_info":{"page":1,"per_page":20,"total_pages":1,"count":1,"total_count":1},"success":true,"errors":[],"messages":[]}'}
 
16
    headers:
 
17
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
18
      cf-ray: [28b7f5446e720657-SJC]
 
19
      connection: [keep-alive]
 
20
      content-length: ['1343']
 
21
      content-type: [application/json]
 
22
      date: ['Wed, 30 Mar 2016 01:58:42 GMT']
 
23
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
 
24
      pragma: [no-cache]
 
25
      server: [cloudflare-nginx]
 
26
      set-cookie: ['__cfduid=d0c7001f17db84ee1fdfc4154f73b840d1459303122; expires=Thu,
 
27
          30-Mar-17 01:58:42 GMT; path=/; domain=.cloudflare.com; HttpOnly']
 
28
      strict-transport-security: [max-age=31536000]
 
29
      x-content-type-options: [nosniff]
 
30
      x-frame-options: [SAMEORIGIN]
 
31
    status: {code: 200, message: OK}
 
32
- request:
 
33
    body: '{"content": "challengetoken", "type": "TXT", "name": "_acme-challenge.full.capsulecd.com"}'
 
34
    headers:
 
35
      Accept: ['*/*']
 
36
      Accept-Encoding: ['gzip, deflate']
 
37
      Connection: [keep-alive]
 
38
      Content-Length: ['90']
 
39
      Content-Type: [application/json]
 
40
      User-Agent: [python-requests/2.9.1]
 
41
    method: POST
 
42
    uri: https://api.cloudflare.com/client/v4/zones/fac516c650e5a737bdc3e1e3dc1047f3/dns_records
 
43
  response:
 
44
    body: {string: !!python/unicode '{"result":{"id":"ef6f6f0e70b6242a65d9c58cb96b979a","type":"TXT","name":"_acme-challenge.full.capsulecd.com","content":"challengetoken","proxiable":false,"proxied":false,"ttl":1,"locked":false,"zone_id":"fac516c650e5a737bdc3e1e3dc1047f3","zone_name":"capsulecd.com","modified_on":"2016-03-30T01:59:37.817718Z","created_on":"2016-03-30T01:59:37.817718Z","meta":{"auto_added":false}},"success":true,"errors":[],"messages":[]}'}
 
45
    headers:
 
46
      cache-control: ['no-store, no-cache, must-revalidate, post-check=0, pre-check=0']
 
47
      cf-ray: [28b7f69d11e10296-SJC]
 
48
      connection: [keep-alive]
 
49
      content-length: ['422']
 
50
      content-type: [application/json]
 
51
      date: ['Wed, 30 Mar 2016 01:59:37 GMT']
 
52
      expires: ['Sun, 25 Jan 1981 05:00:00 GMT']
 
53
      pragma: [no-cache]
 
54
      server: [cloudflare-nginx]
 
55
      set-cookie: ['__cfduid=db112b990e6dc477ab57213342f4d9dc11459303177; expires=Thu,
 
56
          30-Mar-17 01:59:37 GMT; path=/; domain=.cloudflare.com; HttpOnly']
 
57
      strict-transport-security: [max-age=31536000]
 
58
      transfer-encoding: [chunked]
 
59
      x-content-type-options: [nosniff]
 
60
      x-frame-options: [SAMEORIGIN]
 
61
    status: {code: 200, message: OK}
 
62
version: 1