---
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: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Nectar in a Sieve</title>
          <description>Ex omnis natus magni sint totam voluptatem corrupti nisi.</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:
      - '180'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Nectar in a Sieve</title>
          <description>Ex omnis natus magni sint totam voluptatem corrupti nisi.</description>
        </package>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Nectar in a Sieve</title>
          <description>Ex omnis natus magni sint totam voluptatem corrupti nisi.</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:
      - '180'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Nectar in a Sieve</title>
          <description>Ex omnis natus magni sint totam voluptatem corrupti nisi.</description>
        </package>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/newly_created_file?user=tom
    body:
      encoding: UTF-8
      string: some_content
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Content-Length:
      - '12'
      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: |
        <revision rev="3" vrev="3">
          <srcmd5>5a8503c52a494e9a5660128cbdfa43f6</srcmd5>
          <version>unknown</version>
          <time>1493722424</time>
          <user>tom</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/my_package/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Nectar in a Sieve</title>
          <description>Ex omnis natus magni sint totam voluptatem corrupti nisi.</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:
      - '180'
    body:
      encoding: UTF-8
      string: |
        <package name="my_package" project="home:tom">
          <title>Nectar in a Sieve</title>
          <description>Ex omnis natus magni sint totam voluptatem corrupti nisi.</description>
        </package>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '208'
    body:
      encoding: UTF-8
      string: |
        <directory name="my_package" rev="3" vrev="3" srcmd5="5a8503c52a494e9a5660128cbdfa43f6">
          <entry name="newly_created_file" md5="baab6c16d9143523b7865d46896e4596" size="12" mtime="1493722213" />
        </directory>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '184'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="my_package" rev="3" vrev="3" srcmd5="5a8503c52a494e9a5660128cbdfa43f6" verifymd5="5a8503c52a494e9a5660128cbdfa43f6">
          <revtime>1493722424</revtime>
        </sourceinfo>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:
      - '208'
    body:
      encoding: UTF-8
      string: |
        <directory name="my_package" rev="3" vrev="3" srcmd5="5a8503c52a494e9a5660128cbdfa43f6">
          <entry name="newly_created_file" md5="baab6c16d9143523b7865d46896e4596" size="12" mtime="1493722213" />
        </directory>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/my_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:
      - '301'
      Cache-Control:
      - no-cache
      Connection:
      - close
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="42a3e628bb8b9b5c7ac07f3062f1fdf3">
          <old project="home:tom" package="my_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e" />
          <new project="home:tom" package="my_package" rev="1" srcmd5="5a8503c52a494e9a5660128cbdfa43f6" />
          <files />
          <issues>
          </issues>
        </sourcediff>
    http_version: 
  recorded_at: Tue, 02 May 2017 10:53:44 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/my_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:58:41 GMT
recorded_with: VCR 4.0.0
