<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Ranged request via CMIS Atompub in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/ranged-request-via-cmis-atompub/m-p/314097#M1098</link>
    <description>&lt;P&gt;I'm trying to issue a ranged request to retrieve a segment (byte range) of a document stored on Nuxeo but it seems Nuxeo's CMIS Atompub request handler doesn't honor the Range HTTP header.&lt;/P&gt;
&lt;P&gt;Is it really not implemented or am I doing anything wrong?&lt;/P&gt;
&lt;P&gt;Please note that, in the curl output below, even though the HTTP status is correct (&lt;CODE&gt;206 Partial Content&lt;/CODE&gt;) the following issues could be found in the response:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;even though I'm requesting the bytes 0 to 10, it returns the whole content (38753 bytes);&lt;/LI&gt;
&lt;LI&gt;the &lt;CODE&gt;Content-Length&lt;/CODE&gt; header seems to be missing;&lt;/LI&gt;
&lt;LI&gt;the &lt;CODE&gt;Content-Range&lt;/CODE&gt; header seems to be missing;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;
~ ??? curl -v -uAdministrator:Administrator -H Range:bytes=0-10 http://demo.nuxeo.com/nuxeo/atom/cmis/default/content/Logo%20Nuxeo.png\?id\=a89667cd-1c68-43b3-be05-e0fda1e1bff4 | wc --bytes
* Hostname was NOT found in DNS cache
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 212.85.154.85...
* Connected to demo.nuxeo.com (212.85.154.85) port 80 (#0)
* Server auth using Basic with user 'Administrator'
&amp;gt; GET /nuxeo/atom/cmis/default/content/Logo%20Nuxeo.png?id=a89667cd-1c68-43b3-be05-e0fda1e1bff4 HTTP/1.1
&amp;gt; Authorization: Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y
&amp;gt; User-Agent: curl/7.35.0
&amp;gt; Host: demo.nuxeo.com
&amp;gt; Accept: */*
&amp;gt; Range:bytes=0-10
&amp;gt; 
&amp;lt; HTTP/1.1 206 Partial Content
&amp;lt; Date: Wed, 01 Oct 2014 22:28:50 GMT
* Server Apache-Chemistry-OpenCMIS/0.11.0 is not blacklisted
&amp;lt; Server: Apache-Chemistry-OpenCMIS/0.11.0
&amp;lt; X-UA-Compatible: IE=Edge,chrome=1
&amp;lt; Cache-Control: private, max-age=0
&amp;lt; Last-Modified: Tue, 04 Mar 2014 17:05:41 GMT
&amp;lt; ETag: "9311aa4854bbab16a655d8f388d3b855"
&amp;lt; Content-Disposition: attachment; filename*=UTF-8''Logo%20Nuxeo.png
&amp;lt; Content-Type: image/png
&amp;lt; Via: 1.1 demo.nuxeo.com
&amp;lt; Transfer-Encoding: chunked
&amp;lt; 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{ [data not shown]
100 38753    0 38753    0     0  32258      0 --:--:--  0:00:01 --:--:-- 32267
* Connection #0 to host demo.nuxeo.com left intact
38753
&lt;/PRE&gt;
&lt;H3&gt;Edit&lt;/H3&gt;
&lt;P&gt;I fired the request against &lt;CODE&gt;demo.nuxeo.com&lt;/CODE&gt;. As of Oct-6-2014, the Nuxeo version at this address is 5.9.5.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Oct 2014 00:57:02 GMT</pubDate>
    <dc:creator>Mauricio_Nagaok</dc:creator>
    <dc:date>2014-10-02T00:57:02Z</dc:date>
    <item>
      <title>Ranged request via CMIS Atompub</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ranged-request-via-cmis-atompub/m-p/314097#M1098</link>
      <description>&lt;P&gt;I'm trying to issue a ranged request to retrieve a segment (byte range) of a document stored on Nuxeo but it seems Nuxeo's CMIS Atompub request handler doesn't honor the Range HTTP header.&lt;/P&gt;
&lt;P&gt;Is it really not implemented or am I doing anything wrong?&lt;/P&gt;
&lt;P&gt;Please note that, in the curl output below, even though the HTTP status is correct (&lt;CODE&gt;206 Partial Content&lt;/CODE&gt;) the following issues could be found in the response:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;even though I'm requesting the bytes 0 to 10, it returns the whole content (38753 bytes);&lt;/LI&gt;
&lt;LI&gt;the &lt;CODE&gt;Content-Length&lt;/CODE&gt; header seems to be missing;&lt;/LI&gt;
&lt;LI&gt;the &lt;CODE&gt;Content-Range&lt;/CODE&gt; header seems to be missing;&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;
~ ??? curl -v -uAdministrator:Administrator -H Range:bytes=0-10 http://demo.nuxeo.com/nuxeo/atom/cmis/default/content/Logo%20Nuxeo.png\?id\=a89667cd-1c68-43b3-be05-e0fda1e1bff4 | wc --bytes
* Hostname was NOT found in DNS cache
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 212.85.154.85...
* Connected to demo.nuxeo.com (212.85.154.85) port 80 (#0)
* Server auth using Basic with user 'Administrator'
&amp;gt; GET /nuxeo/atom/cmis/default/content/Logo%20Nuxeo.png?id=a89667cd-1c68-43b3-be05-e0fda1e1bff4 HTTP/1.1
&amp;gt; Authorization: Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y
&amp;gt; User-Agent: curl/7.35.0
&amp;gt; Host: demo.nuxeo.com
&amp;gt; Accept: */*
&amp;gt; Range:bytes=0-10
&amp;gt; 
&amp;lt; HTTP/1.1 206 Partial Content
&amp;lt; Date: Wed, 01 Oct 2014 22:28:50 GMT
* Server Apache-Chemistry-OpenCMIS/0.11.0 is not blacklisted
&amp;lt; Server: Apache-Chemistry-OpenCMIS/0.11.0
&amp;lt; X-UA-Compatible: IE=Edge,chrome=1
&amp;lt; Cache-Control: private, max-age=0
&amp;lt; Last-Modified: Tue, 04 Mar 2014 17:05:41 GMT
&amp;lt; ETag: "9311aa4854bbab16a655d8f388d3b855"
&amp;lt; Content-Disposition: attachment; filename*=UTF-8''Logo%20Nuxeo.png
&amp;lt; Content-Type: image/png
&amp;lt; Via: 1.1 demo.nuxeo.com
&amp;lt; Transfer-Encoding: chunked
&amp;lt; 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0{ [data not shown]
100 38753    0 38753    0     0  32258      0 --:--:--  0:00:01 --:--:-- 32267
* Connection #0 to host demo.nuxeo.com left intact
38753
&lt;/PRE&gt;
&lt;H3&gt;Edit&lt;/H3&gt;
&lt;P&gt;I fired the request against &lt;CODE&gt;demo.nuxeo.com&lt;/CODE&gt;. As of Oct-6-2014, the Nuxeo version at this address is 5.9.5.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2014 00:57:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ranged-request-via-cmis-atompub/m-p/314097#M1098</guid>
      <dc:creator>Mauricio_Nagaok</dc:creator>
      <dc:date>2014-10-02T00:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ranged request via CMIS Atompub</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ranged-request-via-cmis-atompub/m-p/314098#M1099</link>
      <description>&lt;P&gt;You didn't specify which Nuxeo version you're using.&lt;/P&gt;
&lt;P&gt;The underlying issue was fixed upstream in OpenCMIS 0.12 by &lt;A href="http://issues.apache.org/jira/browse/CMIS-814"&gt;CMIS-814&lt;/A&gt; which we use since &lt;A href="https://jira.nuxeo.com/browse/NXP-14727"&gt;NXP-14727&lt;/A&gt;, it will be included in Nuxeo 6.0.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Oct 2014 14:50:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ranged-request-via-cmis-atompub/m-p/314098#M1099</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2014-10-06T14:50:42Z</dc:date>
    </item>
  </channel>
</rss>

