---
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:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/diff-truncation-test-2/_meta?user=_nobody_
    body:
      encoding: UTF-8
      string: |
        <package name="diff-truncation-test-2" project="home:tom">
          <title>A Swiftly Tilting Planet</title>
          <description>Velit ut odit dicta laudantium.</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:
      - '173'
    body:
      encoding: UTF-8
      string: |
        <package name="diff-truncation-test-2" project="home:tom">
          <title>A Swiftly Tilting Planet</title>
          <description>Velit ut odit dicta laudantium.</description>
        </package>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/diff-truncation-test-2/_meta
    body:
      encoding: UTF-8
      string: |
        <package name="diff-truncation-test-2" project="home:tom">
          <title>A Swiftly Tilting Planet</title>
          <description>Velit ut odit dicta laudantium.</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:
      - '173'
    body:
      encoding: UTF-8
      string: |
        <package name="diff-truncation-test-2" project="home:tom">
          <title>A Swiftly Tilting Planet</title>
          <description>Velit ut odit dicta laudantium.</description>
        </package>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/diff-truncation-test-2/bigfile_archive.tar.gz
    body:
      encoding: UTF-8
      base64_string: |
        H4sIALdvM1oAA+3UPU7DMBiA4cw9RU+QxnHitAM7I1cIEFCllqFNpRyfCFQJ
        VRAxRKVIz/sMHmzlZ/icrx7a4b5rn7vDMS+bsoqrx+3ry3bX5f3QZ7NUjKWq
        +ljHLtcilE0WYhmqlJpUj+dCDLHOlsM8r5/udOzbw/gp13jXDVZulvt+u+/u
        Qh1iLIuYqjyGkNabdbMYN9upzacfN//6t/TLZh/2b/oy/6GpP+c+nO+DkOpQ
        FZfz31Tj/F9lJs/zv2/fTt1u6tx4Q0485/Jy+ye1CwAAAAAAAAAAAAAAAAAA
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIDb
        kkmSJEmSJEmSJEmSJEmSpNl7B1vhRTIAGAEA
    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="11" vrev="11">
          <srcmd5>5535aa2bdf236b3473781062bf9b26fc</srcmd5>
          <version>unknown</version>
          <time>1513788107</time>
          <user>unknown</user>
          <comment></comment>
          <requestid/>
        </revision>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: put
    uri: http://backend:5352/source/home:tom/diff-truncation-test-2/bigfile_archive.tar.gz
    body:
      encoding: UTF-8
      base64_string: |
        H4sIAGuQM1oAA+3dQU7CQBiA0a45BSconWk7rQv3Lr1C0WpIwAWUhONbNRol
        SlwQUPK+l6YJUyhd/LNtPrvtdjd9d9+vN3lIZZVm88Xjw2LZ58NuyI5SMZaq
        6vU8tn8uQhmz8QhVE4oQm2z8IIQym+6Oc/vDbTdDtx7/yinu9Qcri+lqWKz6
        61CHsoxtE5u8vkpVCm19NRlXuy+rZZ2nOlZ12bTty+rdz98995PpNx192L/p
        0/yHpn6b+/CxH6SYYrE//02ssulJZvJ9/lfd07ZfHrpu3CEP/M7+5vZPmk8A
        AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALsO53wcjSZIk6XJ7BoTcavQAeAAA
    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="12" vrev="12">
          <srcmd5>a97fea6141c1880ff4d9e11286b920da</srcmd5>
          <version>unknown</version>
          <time>1513788107</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/diff-truncation-test-2
    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:
      - '227'
    body:
      encoding: UTF-8
      string: |
        <directory name="diff-truncation-test-2" rev="12" vrev="12" srcmd5="a97fea6141c1880ff4d9e11286b920da">
          <entry name="bigfile_archive.tar.gz" md5="713aa766714b4c30b722de58b7bb4e06" size="270" mtime="1513787854" />
        </directory>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: get
    uri: http://backend:5352/source/home:tom/diff-truncation-test-2
    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:
      - '227'
    body:
      encoding: UTF-8
      string: |
        <directory name="diff-truncation-test-2" rev="12" vrev="12" srcmd5="a97fea6141c1880ff4d9e11286b920da">
          <entry name="bigfile_archive.tar.gz" md5="713aa766714b4c30b722de58b7bb4e06" size="270" mtime="1513787854" />
        </directory>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:47 GMT
- request:
    method: post
    uri: http://backend:5352/source/home:tom/diff-truncation-test-2?cmd=diff&expand=1&rev=12&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: 200
      message: OK
    headers:
      Content-Type:
      - text/xml
      Cache-Control:
      - no-cache
      Connection:
      - close
      Content-Length:
      - '1258'
    body:
      encoding: UTF-8
      string: |
        <sourcediff key="6dd3c2ae2dfc456b81d1376af8771f39">
          <old project="home:tom" package="diff-truncation-test-2" rev="11" srcmd5="5535aa2bdf236b3473781062bf9b26fc" />
          <new project="home:tom" package="diff-truncation-test-2" rev="12" srcmd5="a97fea6141c1880ff4d9e11286b920da" />
          <files>
            <file state="changed">
              <old name="bigfile_archive.tar.gz/bigfile.txt" md5="422c42a0be9cf68d9276866f2de77ca6" size="60000" />
              <new name="bigfile_archive.tar.gz/bigfile.txt" md5="1e9a9129d96afb29c052f5f074ef86cd" size="26000" />
              <diff lines="43001" shown="200">@@ -1,30000 +1,13000 @@
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        -a
        </diff>
            </file>
          </files>
          <issues>
          </issues>
        </sourcediff>
    http_version: 
  recorded_at: Wed, 20 Dec 2017 16:41:48 GMT
recorded_with: VCR 4.0.0
