---
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: Fri, 05 May 2017 07:46:54 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/rev_package/_meta?user=_nobody_
    body:
      encoding: UTF-8
      string: |
        <package name="rev_package" project="home:tom">
          <title>Tender Is the Night</title>
          <description>Necessitatibus assumenda dolorem facilis.</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:
      - '167'
    body:
      encoding: UTF-8
      string: |
        <package name="rev_package" project="home:tom">
          <title>Tender Is the Night</title>
          <description>Necessitatibus assumenda dolorem facilis.</description>
        </package>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:54 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/rev_package/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="rev_package" project="home:tom">
          <title>Tender Is the Night</title>
          <description>Necessitatibus assumenda dolorem facilis.</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:
      - '167'
    body:
      encoding: UTF-8
      string: |
        <package name="rev_package" project="home:tom">
          <title>Tender Is the Night</title>
          <description>Necessitatibus assumenda dolorem facilis.</description>
        </package>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:54 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/rev_package/somefile.txt
    body:
      encoding: US-ASCII
      string: '0'
    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="1" vrev="1">
          <srcmd5>cabf9a1f9a0b7c19d4f7ff46166f4ee0</srcmd5>
          <version>unknown</version>
          <time>1493970414</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:54 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/rev_package/somefile.txt
    body:
      encoding: US-ASCII
      string: '1'
    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="2" vrev="2">
          <srcmd5>efbe5f0a5dd48df5129b4319df43aa45</srcmd5>
          <version>unknown</version>
          <time>1493970414</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/rev_package/somefile.txt
    body:
      encoding: US-ASCII
      string: '2'
    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="3" vrev="3">
          <srcmd5>6ba292a7c75f8b46e4d39ac7cb20ebcd</srcmd5>
          <version>unknown</version>
          <time>1493970415</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_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:
      - '185'
    body:
      encoding: UTF-8
      string: |
        <sourceinfo package="rev_package" rev="3" vrev="3" srcmd5="6ba292a7c75f8b46e4d39ac7cb20ebcd" verifymd5="6ba292a7c75f8b46e4d39ac7cb20ebcd">
          <revtime>1493970415</revtime>
        </sourceinfo>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_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:
      - '202'
    body:
      encoding: UTF-8
      string: |
        <directory name="rev_package" rev="3" vrev="3" srcmd5="6ba292a7c75f8b46e4d39ac7cb20ebcd">
          <entry name="somefile.txt" md5="c81e728d9d4c2f636f067f89cc14862c" size="1" mtime="1493970415" />
        </directory>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/rev_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
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '303'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="faf68cafcaba64190c73e6e1b7359d7a">
          <old project="home:tom" package="rev_package" rev="0" srcmd5="d41d8cd98f00b204e9800998ecf8427e" />
          <new project="home:tom" package="rev_package" rev="3" srcmd5="6ba292a7c75f8b46e4d39ac7cb20ebcd" />
          <files />
          <issues>
          </issues>
        </sourcediff>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_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:
      - '202'
    body:
      encoding: UTF-8
      string: |
        <directory name="rev_package" rev="3" vrev="3" srcmd5="6ba292a7c75f8b46e4d39ac7cb20ebcd">
          <entry name="somefile.txt" md5="c81e728d9d4c2f636f067f89cc14862c" size="1" mtime="1493970415" />
        </directory>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_package?expand=1&rev=2
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '202'
    body:
      encoding: UTF-8
      string: |
        <directory name="rev_package" rev="2" vrev="2" srcmd5="efbe5f0a5dd48df5129b4319df43aa45">
          <entry name="somefile.txt" md5="c4ca4238a0b923820dcc509a6f75849b" size="1" mtime="1493970414" />
        </directory>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_package
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - text/plain
      Accept-Encoding:
      - identity
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '202'
    body:
      encoding: UTF-8
      string: |
        <directory name="rev_package" rev="3" vrev="3" srcmd5="6ba292a7c75f8b46e4d39ac7cb20ebcd">
          <entry name="somefile.txt" md5="c81e728d9d4c2f636f067f89cc14862c" size="1" mtime="1493970415" />
        </directory>
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_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: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: delete
    uri: http://backend:5352/source/home:tom/rev_package?comment&user=_nobody_
    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:
      - '21'
    body:
      encoding: UTF-8
      string: '<status code="ok" />

'
    http_version: 
  recorded_at: Fri, 05 May 2017 07:46:55 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/rev_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:16 GMT
recorded_with: VCR 4.0.0
