---
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:
      - '128'
    body:
      encoding: UTF-8
      string: |
        <project name="home:tom">
          <title></title>
          <description></description>
          <person userid="tom" role="maintainer"/>
        </project>
  recorded_at: Thu, 13 Jun 2024 17:01:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/_meta?user=tom
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_file" project="home:tom">
          <title>Ah, Wilderness!</title>
          <description>Et blanditiis iusto rerum.</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:
      - '154'
    body:
      encoding: UTF-8
      string: |
        <package name="package_with_file" project="home:tom">
          <title>Ah, Wilderness!</title>
          <description>Et blanditiis iusto rerum.</description>
        </package>
  recorded_at: Thu, 13 Jun 2024 17:01:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/_config
    body:
      encoding: UTF-8
      string: Enim accusamus dicta. Est deserunt omnis. Quaerat itaque libero.
    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>a336035e0c544edf258e26244e36d1b2</srcmd5>
          <version>unknown</version>
          <time>1718298085</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 13 Jun 2024 17:01:25 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/package_with_file/somefile.txt
    body:
      encoding: UTF-8
      string: Adipisci ipsum veritatis. Sunt nobis accusamus. Saepe officiis sed.
    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="8" vrev="8">
          <srcmd5>e40d5cf9c2f13cf6f6f89f464be37e18</srcmd5>
          <version>unknown</version>
          <time>1718298085</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
  recorded_at: Thu, 13 Jun 2024 17:01:25 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:
      - '302'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_file" rev="8" vrev="8" srcmd5="e40d5cf9c2f13cf6f6f89f464be37e18">
          <entry name="_config" md5="ea6a0ef716ee645b34ef66ea09e23942" size="64" mtime="1718298085"/>
          <entry name="somefile.txt" md5="e9156925f1f2c2a1a86414e083215d36" size="67" mtime="1718298085"/>
        </directory>
  recorded_at: Thu, 13 Jun 2024 17:01:25 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:
      - '302'
    body:
      encoding: UTF-8
      string: |
        <directory name="package_with_file" rev="8" vrev="8" srcmd5="e40d5cf9c2f13cf6f6f89f464be37e18">
          <entry name="_config" md5="ea6a0ef716ee645b34ef66ea09e23942" size="64" mtime="1718298085"/>
          <entry name="somefile.txt" md5="e9156925f1f2c2a1a86414e083215d36" size="67" mtime="1718298085"/>
        </directory>
  recorded_at: Thu, 13 Jun 2024 17:01:25 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>
  recorded_at: Thu, 13 Jun 2024 17:01:25 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>
  recorded_at: Thu, 13 Jun 2024 17:01:25 GMT
recorded_with: VCR 6.2.0
