---
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: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:foo:Apache/_meta
    body:
      encoding: UTF-8
      string: |
        <project name="home:foo:Apache">
          <title>I Know Why the Caged Bird Sings</title>
          <description/>
        </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:
      - '123'
    body:
      encoding: UTF-8
      string: |
        <project name="home:foo:Apache">
          <title>I Know Why the Caged Bird Sings</title>
          <description></description>
        </project>
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:foo:Apache/_config
    body:
      encoding: UTF-8
      string: Laudantium sapiente officiis est a cum et eveniet. Eaque et enim. Harum
        laudantium sequi facere sint sunt at.
    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:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_changes_file" project="home:foo:Apache">
          <title>Shall not Perish</title>
          <description>Corrupti nisi repudiandae voluptatem illo rerum recusandae.</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:
      - '203'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_changes_file" project="home:foo:Apache">
          <title>Shall not Perish</title>
          <description>Corrupti nisi repudiandae voluptatem illo rerum recusandae.</description>
        </package>
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_changes_file" project="home:foo:Apache">
          <title>Shall not Perish</title>
          <description>Corrupti nisi repudiandae voluptatem illo rerum recusandae.</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:
      - '203'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_changes_file" project="home:foo:Apache">
          <title>Shall not Perish</title>
          <description>Corrupti nisi repudiandae voluptatem illo rerum recusandae.</description>
        </package>
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file/package_with_changes_file.changes
    body:
      encoding: UTF-8
      string: |2-

        -------------------------------------------------------------------
        Fri Aug 11 16:58:15 UTC 2017 - tom@opensuse.org

        - Testing the submit diff

        -------------------------------------------------------------------
        Wed Aug  2 14:59:15 UTC 2017 - iggy@opensuse.org

        - Temporary hack
    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:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="6" vrev="6">
          <srcmd5>21f4b51fd1e52f4f2ba65bdfa48f9d30</srcmd5>
          <version>unknown</version>
          <time>1502868508</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file/lorem.changes
    body:
      encoding: UTF-8
      string: Lorem ipsum dolorem
    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:
      - '207'
    body:
      encoding: UTF-8
      string: |
        <revision rev="7" vrev="7">
          <srcmd5>1cff75daacc7a4fa6a3b4821c3fca590</srcmd5>
          <version>unknown</version>
          <time>1502868508</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file
    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:
      - '340'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_changes_file" rev="7" vrev="7" srcmd5="1cff75daacc7a4fa6a3b4821c3fca590">
          <entry name="lorem.changes" md5="143070716e28ed45a29514befe95043d" size="19" mtime="1502868508" />
          <entry name="package_with_changes_file.changes" md5="3b79b4c0bb480628f86b7c39cd9fe9d0" size="279" mtime="1502867272" />
        </directory>
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file/lorem.changes
    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:
      - application/octet-stream
      Content-Length:
      - '19'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: Lorem ipsum dolorem
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:foo:Apache/package_with_changes_file/package_with_changes_file.changes
    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:
      - application/octet-stream
      Content-Length:
      - '279'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |2-

        -------------------------------------------------------------------
        Fri Aug 11 16:58:15 UTC 2017 - tom@opensuse.org

        - Testing the submit diff

        -------------------------------------------------------------------
        Wed Aug  2 14:59:15 UTC 2017 - iggy@opensuse.org

        - Temporary hack
    http_version: 
  recorded_at: Wed, 16 Aug 2017 07:28:28 GMT
recorded_with: VCR 3.0.3
