---
http_interactions:
- request:
    method: put
    uri: http://backend:5352/source/home:tom/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title/>
          <description/>
          <person userid="tom" role="maintainer"/>
        </project>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '129'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title></title>
          <description></description>
          <person userid="tom" role="maintainer" />
        </project>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>The Monkey's Raincoat</title>
          <description>Recusandae vero dolor officiis inventore qui ipsam tempore.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '188'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>The Monkey's Raincoat</title>
          <description>Recusandae vero dolor officiis inventore qui ipsam tempore.</description>
        </package>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>The Monkey's Raincoat</title>
          <description>Recusandae vero dolor officiis inventore qui ipsam tempore.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '188'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>The Monkey's Raincoat</title>
          <description>Recusandae vero dolor officiis inventore qui ipsam tempore.</description>
        </package>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/foo.kiwi.txz?user=tom
    body:
      encoding: UTF-8
      string: ''
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Content-Length:
      - '0'
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '205'
    body:
      encoding: UTF-8
      string: |
        <revision rev="18" vrev="18">
          <srcmd5>9b1c1ddcaab8327d31b5f9d882782630</srcmd5>
          <version>unknown</version>
          <time>1499340725</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package/_service
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: _service  no such file
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '122'
    body:
      encoding: UTF-8
      string: |
        <status code="404">
          <summary>_service: no such file</summary>
          <details>404 _service: no such file</details>
        </status>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/test_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>The Monkey's Raincoat</title>
          <description>Recusandae vero dolor officiis inventore qui ipsam tempore.</description>
        </package>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '188'
    body:
      encoding: UTF-8
      string: |
        <package name="test_package" project="home:tom">
          <title>The Monkey's Raincoat</title>
          <description>Recusandae vero dolor officiis inventore qui ipsam tempore.</description>
        </package>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '300'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="18" vrev="18" srcmd5="9b1c1ddcaab8327d31b5f9d882782630">
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1499338181" />
          <entry name="foo.spec" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1499338182" />
        </directory>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package?nofilename=1&view=info&withchangesmd5=1
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '188'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="test_package" rev="18" vrev="18" srcmd5="9b1c1ddcaab8327d31b5f9d882782630" verifymd5="9b1c1ddcaab8327d31b5f9d882782630">
          <revtime>1499340725</revtime>
        </sourceinfo>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '300'
    body:
      encoding: UTF-8
      string: |
        <directory name="test_package" rev="18" vrev="18" srcmd5="9b1c1ddcaab8327d31b5f9d882782630">
          <entry name="foo.kiwi.txz" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1499338181" />
          <entry name="foo.spec" md5="d41d8cd98f00b204e9800998ecf8427e" size="0" mtime="1499338182" />
        </directory>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/test_package?cmd=diff&linkrev=base&onlyissues=1&orev=0&view=xml
    body:
      encoding: UTF-8
      string: ''
    headers:
      Content-Type:
      - application/octet-stream
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Content-Length:
      - '305'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="3f15819536dc60627879be3682246c9e">
          <old project="home:tom" package="test_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e" />
          <new project="home:tom" package="test_package" rev="2" srcmd5="9b1c1ddcaab8327d31b5f9d882782630" />
          <files />
          <issues>
          </issues>
        </sourcediff>
    http_version: 
  recorded_at: Thu, 06 Jul 2017 11:32:05 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/test_package?view=info
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 404
      message: project 'home tom' does not exist
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '144'
    body:
      encoding: UTF-8
      string: |
        <status code="404">
          <summary>project 'home:tom' does not exist</summary>
          <details>404 project 'home:tom' does not exist</details>
        </status>
    http_version: 
  recorded_at: Tue, 16 Jan 2018 14:31:27 GMT
recorded_with: VCR 4.0.0
