Re: AW: Re: Ignore http header if-modified-since

2009-12-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/21/2009 8:54 AM, Abid Hussain wrote: > [The cause was] a class called AbstractResourceProcessor from the Apache > Shale > framework. When requesting a resource which is actually located inside a > jar, it sets the last-modified header u

AW: Re: Ignore http header if-modified-since

2009-12-21 Thread Abid Hussain
ormat. Best regards, Abid > -Ursprüngliche Nachricht- > Von: Len Popp [mailto:len.p...@gmail.com] > Gesendet: Freitag, 18. Dezember 2009 17:13 > An: Tomcat Users List > Betreff: Re: Ignore http header if-modified-since > > Add some debugging code to your app to

Re: Ignore http header if-modified-since

2009-12-18 Thread Len Popp
hricht- >> Von: André Warnier [mailto:a...@ice-sa.com] >> Gesendet: Freitag, 18. Dezember 2009 13:56 >> An: Tomcat Users List >> Betreff: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since >> >> Mark Thomas wrote: >> > On 18/12/2009 09:36, A

AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Abid Hussain
t; Gesendet: Freitag, 18. Dezember 2009 13:56 > An: Tomcat Users List > Betreff: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since > > Mark Thomas wrote: > > On 18/12/2009 09:36, André Warnier wrote: > >> Christopher Schultz wrote: > >>> -BEGIN

Re: AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 12/18/2009 5:32 AM, Mark Thomas wrote: > On 18/12/2009 08:41, Abid Hussain wrote: >> Hi, >> >> I'm using Tomcat 6.0.20, installed on a german Windows XP. >> >> I'm quite sure that the cause is tomcat's code. > > And I'm quite sure it isn't.

Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread André Warnier
Mark Thomas wrote: On 18/12/2009 09:36, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote: I used the startup parameters -Duser.language=en -Duser.region=US This caused Tomcat to deliver the Last-Mod

AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Abid Hussain
odify the headers. Best regards, Abid -Ursprüngliche Nachricht- Von: Mark Thomas [mailto:ma...@apache.org] Gesendet: Freitag, 18. Dezember 2009 11:36 An: Tomcat Users List Betreff: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since On 18/12/2009 09:36, André Warnier

Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Mark Thomas
On 18/12/2009 09:36, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Abid, >> >> On 12/17/2009 12:08 PM, Abid Hussain wrote: >>> I used the startup parameters >>> -Duser.language=en >>> -Duser.region=US >>> This caused Tomcat to deliver th

Re: AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Mark Thomas
On 18/12/2009 08:41, Abid Hussain wrote: > Hi, > > I'm using Tomcat 6.0.20, installed on a german Windows XP. > > I'm quite sure that the cause is tomcat's code. And I'm quite sure it isn't. I have tested trunk, 6.0.x and 6.0.20 and all behave correctly. > When I use e.g. for > startup polish

Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote: I used the startup parameters -Duser.language=en -Duser.region=US This caused Tomcat to deliver the Last-Modified in the correct format. That solved the problem, no 404 a

AW: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-18 Thread Abid Hussain
2:18 An: Tomcat Users List Betreff: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote: > I used the startup parameters > -Duser.language=en > -Duser.region=US > This caused Tomcat to d

RE: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Looijmans, Mike
ject: Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Abid, > > On 12/17/2009 12:08 PM, Abid Hussain wrote: > > I used the startup parameters > > -Duser.language=en > > -Duser.region=US

RE: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Looijmans, Mike
.@dilax.com] > Sent: donderdag 17 december 2009 18:08 > To: users > Subject: AW: Re: AW: RE: RE: Ignore http header if-modified-since > > I used the startup parameters > -Duser.language=en > -Duser.region=US > This caused Tomcat to deliver the Last-Modified in the corre

Re: AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, On 12/17/2009 12:08 PM, Abid Hussain wrote: > I used the startup parameters > -Duser.language=en > -Duser.region=US > This caused Tomcat to deliver the Last-Modified in the correct format. > > That solved the problem, no 404 anymore, thanks. >

AW: Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
. Dezember 2009 15:59 An: Tomcat Users List Betreff: Re: AW: RE: RE: Ignore http header if-modified-since Abid Hussain wrote: > Hi, > > this is interesting. As you see in my example (i put it again below), > tomcat itself delivers the Last-Modified (Do, 17 Dez 2009 11:11:29 > GMT) in a d

Re: AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread André Warnier
Abid Hussain wrote: Hi, this is interesting. As you see in my example (i put it again below), tomcat itself delivers the Last-Modified (Do, 17 Dez 2009 11:11:29 GMT) in a different locale (german) as the Date Header (Thu, 17 Dec 2009 11:24:53 GMT). That sounds to me like a bug. Maybe the ea

AW: RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
Looijmans, Mike [mailto:mike.looijm...@oce.com] Gesendet: Donnerstag, 17. Dezember 2009 15:03 An: Tomcat Users List Betreff: RE: RE: Ignore http header if-modified-since This header is invalid: Last-Modified: Do, 17 Dez 2009 11:11:29 GMT This is not according to spec, "Dez" should be "D

RE: RE: Ignore http header if-modified-since

2009-12-17 Thread Looijmans, Mike
cember 2009 12:26 > To: users > Subject: AW: RE: Ignore http header if-modified-since > > Hallo, > > unfortunately it is a 404. And the 404 is only delivered when > the request header contains "if-modified-since". If not the > request is respondec correctly. This beha

AW: Re: AW: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
: users@tomcat.apache.org Betreff: Re: AW: RE: Ignore http header if-modified-since On 17/12/2009 11:26, Abid Hussain wrote: > Hallo, > > unfortunately it is a 404. And the 404 is only delivered when the > request header contains "if-modified-since". If not the request is

Re: AW: RE: Ignore http header if-modified-since

2009-12-17 Thread Pid
nked Date: Thu, 17 Dec 2009 11:24:53 GMT Does anybody have an explanation for this? Best regards, Abid -Ursprüngliche Nachricht- Von: Looijmans, Mike [mailto:mike.looijm...@oce.com] Gesendet: Mittwoch, 16. Dezember 2009 15:48 An: Tomcat Users List Betreff: RE: Ignore http header if-mo

AW: RE: Ignore http header if-modified-since

2009-12-17 Thread Abid Hussain
? Best regards, Abid -Ursprüngliche Nachricht- Von: Looijmans, Mike [mailto:mike.looijm...@oce.com] Gesendet: Mittwoch, 16. Dezember 2009 15:48 An: Tomcat Users List Betreff: RE: Ignore http header if-modified-since I assume you mean 304 (Not modified) instead of 404 (Not found). Simplest I can

Re: Ignore http header if-modified-since

2009-12-16 Thread Ronald Klop
ide caching for (almost) free, which can seriously reduce load on a server. M. -Original Message- From: Abid Hussain [mailto:abid.huss...@dilax.com] Sent: woensdag 16 december 2009 14:11 To: users Subject: Ignore http header if-modified-since Hallo, when processing ajax-requests T

RE: Ignore http header if-modified-since

2009-12-16 Thread Looijmans, Mike
r 2009 14:11 > To: users > Subject: Ignore http header if-modified-since > > Hallo, > > when processing ajax-requests Tomcat sometimes responds with > a 404 instead of delivering XML. > > This seems to happen when the http header "if-modified-since" > in the re

Ignore http header if-modified-since

2009-12-16 Thread Abid Hussain
Hallo, when processing ajax-requests Tomcat sometimes responds with a 404 instead of delivering XML. This seems to happen when the http header "if-modified-since" in the request doesn't somehow contain "the right" value. At least, if the request doesn't contain this header, tomcat responds "