Hi Markus What's the size attribute reported in the FOXML (and by getDatastream, ie https://myFedora/objects/o:XXXX/datastreams/OCTETS)
Do you also see this if you use the new REST API, ie https://myFedora/objects/o:XXXX/datastreams/OCTETS/content? Regards Steve > -----Original Message----- > From: Markus Höckner [mailto:hoec...@yahoo.com] > Sent: 04 January 2011 14:01 > To: fedora-commons-users@lists.sourceforge.net > Subject: [fcrepo-user] Wrong size in HTTP header > > > Hi everyone, > > we have got a problem: if we try to download a "big" file > from our Fedora, we > get the wrong size information in the HTTP header. > > E.g.: the file has got about 4,2GB -> > > -rw-r--r-- 1 tomcat tomcat 4.2G Mar 5 2010 o_XXXX+OCTETS+OCTETS.0 > > If I call https://myFedora/get/o:XXXX/OCTETS I get following > header info: > > $VAR1 = bless( { > '_protocol' => 'HTTP/1.1', > '_content' => '', > '_rc' => 200, > '_headers' => bless( { > 'connection' => 'close', > 'client-response-num' => 1, > 'date' => 'Tue, 04 > Jan 2011 13:47:57 > GMT', > 'client-ssl-cert-issuer' => > 'xxxxxxxxxxxxxxxxxxxxxx', > 'client-ssl-cipher' => > 'DHE-RSA-AES256-SHA', > 'client-peer' => > 'xxxxxxxxxxxxxx', > 'content-length' => > '161214464', > 'client-date' => > 'Tue, 04 Jan 2011 > 13:48:22 GMT', > 'client-ssl-warning' => 'Peer > certificate not verified', > 'content-type' => > 'video/mpeg', > 'client-ssl-cert-subject' => > xxxxxxxxxxxxxxxxxxx', > 'server' => > 'Apache/2.2.3 (Red Hat)' > }, 'HTTP::Headers' ), > '_msg' => 'OK', > '_request' => bless( { > '_content' => '', > '_uri' => bless( do{\(my $o = > 'https://myFedora/get/o:XXXX/OCTETS')}, 'URI::https' ), > '_headers' => bless( { > > 'user-agent' => > 'libwww-perl/5.805', > > 'authorization' > => 'Basic ZmVkb3JhSW50Q2FsbDpDVmdpWGlITA== > ' > > }, 'HTTP::Headers' > ), > '_method' => 'HEAD' > }, 'HTTP::Request' ) > }, 'HTTP::Response' ); > > So Fedora tells me that the file is about 153 MB and not 4,2GB! > > Are there any bugs known? Or has somebody the same "problem"? > > Best regards, > Markus > > > > > -------------------------------------------------------------- > ---------------- > Learn how Oracle Real Application Clusters (RAC) One Node > allows customers > to consolidate database storage, standardize their database > environment, and, > should the need arise, upgrade to a full multi-node Oracle > RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Fedora-commons-users mailing list > Fedora-commons-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fedora-commons-users > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users