Hi all, 

The header request of FF3.6.3 contains a range and if-range header that
apparently causes an error with restlet 2.0m7 and the ultimate snapshot too:
FF generates call http get and on the second Restlet returns a '501 not
implemented error (returning a FileRepresentation of a PDF file). 

Here are the concerned headers ( firebug ) for the restlet 2.0m7:

FIRST HTTP GET:

Response
Date    Thu, 03 Jun 2010 19:14:50 GMT
Server  Restlet-Framework/2.0m7
Content-Length  86633
Content-Type    application/pdf
Expires Thu, 03 Jun 2010 19:14:50 GMT
Last-Modified   Thu, 03 Jun 2010 19:14:50 GMT
Accept-Ranges   bytes
Vary    Accept-Charset,Accept-Encoding,Accept-Language,Accept
Via     1.1 anares.eu
Keep-Alive      timeout=15, max=100
Connection      Keep-Alive

Request
Host    anares.eu
User-Agent      Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive      115
Connection      keep-alive
Range   bytes=58868-
If-Range        Thu, 03 Jun 2010 19:11:29 GMT
 
        

SECOND HTTP GET:


Response
Date    Thu, 03 Jun 2010 19:14:51 GMT
Server  Restlet-Framework/2.0m7
Content-Type    text/html; charset=ISO-8859-1
Accept-Ranges   bytes
Vary    Accept-Charset,Accept-Encoding,Accept-Language,Accept
Via     1.1 anares.eu
Content-Encoding        gzip
Content-Length  279
Connection      close
RequĂȘtevoir le code source
Host    anares.eu
User-Agent      Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Accept  text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip,deflate
Accept-Charset  ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive      115
Connection      keep-alive
Range   bytes=32768-86632,32768-32769


To get around this problem I clean the range header :

getRequest().getConditions().setRangeTag(null);

Is this a bug or a bad use  ?

thanks 
Peg






-- 
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Restlet-and-FF-in-Windows-range-out-of-range-NEW-tp5136708p5136708.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2616570

Reply via email to