---
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, 20 Dec 2017 16:41:46 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/_meta?user=_nobody_
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_file" project="home:tom">
          <title>Cover Her Face</title>
          <description>Aliquam ut eaque ut.</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:
      - '147'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_file" project="home:tom">
          <title>Cover Her Face</title>
          <description>Aliquam ut eaque ut.</description>
        </package>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:46 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_file" project="home:tom">
          <title>Cover Her Face</title>
          <description>Aliquam ut eaque ut.</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:
      - '147'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_file" project="home:tom">
          <title>Cover Her Face</title>
          <description>Aliquam ut eaque ut.</description>
        </package>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:46 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/_config
    body:
      encoding: UTF-8
      string: Modi et nesciunt et non molestias. Accusamus tenetur cupiditate. Eos
        dolores temporibus et quia aut eos aspernatur. Nam omnis in alias aut quasi
        sint.
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="15" vrev="15">
          <srcmd5>3d4fc2accb297a2481f11b51aa4ec969</srcmd5>
          <version>unknown</version>
          <time>1513788106</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:46 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/somefile.txt
    body:
      encoding: UTF-8
      string: Repellendus quia qui beatae blanditiis. Ratione eos neque libero facere
        eius. Quo libero minima corrupti vel impedit et nihil. Optio eaque quis quidem
        ut.
    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:
      - '209'
    body:
      encoding: UTF-8
      string: |
        <revision rev="16" vrev="16">
          <srcmd5>3d4fc2accb297a2481f11b51aa4ec969</srcmd5>
          <version>unknown</version>
          <time>1513788106</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_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:
      - '308'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_file" rev="16" vrev="16" srcmd5="3d4fc2accb297a2481f11b51aa4ec969">
          <entry name="_config" md5="28c567ca37ac04da8a05d0440eeb0e6e" size="150" mtime="1513788106" />
          <entry name="somefile.txt" md5="d168c91e90f7f157964af1fd9e3af70c" size="154" mtime="1513788106" />
        </directory>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/package_with_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:
      - '308'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_file" rev="16" vrev="16" srcmd5="3d4fc2accb297a2481f11b51aa4ec969">
          <entry name="_config" md5="28c567ca37ac04da8a05d0440eeb0e6e" size="150" mtime="1513788106" />
          <entry name="somefile.txt" md5="d168c91e90f7f157964af1fd9e3af70c" size="154" mtime="1513788106" />
        </directory>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/package_with_file?cmd=diff&expand=1&rev=&view=xml&withissues=1
    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: 400
      message: revision is empty
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '69'
    body:
      encoding: UTF-8
      string: |
        <status code="400">
          <summary>revision is empty</summary>
        </status>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/package_with_file?cmd=diff&expand=0&rev=&view=xml&withissues=1
    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: 400
      message: revision is empty
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '69'
    body:
      encoding: UTF-8
      string: |
        <status code="400">
          <summary>revision is empty</summary>
        </status>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
recorded_with: VCR 4.0.0
