View previous topic :: View next topic |
Author |
Message |
noamc -
Joined: 26 Mar 2007 Posts: 2
|
Posted: Mon Mar 26, 2007 10:40 pm Post subject: Avoid error 304? |
|
|
The server (v2.4) returns (correctly) error 304.
Is there a way to tell the server to ignore the "if-modified-since"
field and send the content anyway?
The web client is a Nokia phone which beyond my control.
Extended info:
When the phone sends for the second time a GET request to the server, it adds a 'if-modified-since' , with the timestamp of the original file downloaded.
The server correctly replies with 304 and nothing more, but the client don't know what to do with it. (It is about Midlet download -- a JAD file).
The file is correctly downloaded at the first access. Only the second is problematic.
What I want is a workaround: The server should simply reply with the file without using the 'if-modified-since'
An Ethereal capture is available if needed.
thanks
Noam. |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Mon Mar 26, 2007 10:56 pm Post subject: |
|
|
You could try disabling cache from the the download your trying to disable the "if-modified-since" header from. To do that, go to "General -> Advanced Parameters (Edit) -> Disable Caching Negotiation for (Add)", under the Hosts configuration.
From here, you can probably fix that error. |
|
Back to top |
|
 |
noamc -
Joined: 26 Mar 2007 Posts: 2
|
Posted: Tue Mar 27, 2007 2:38 pm Post subject: |
|
|
Both methods worked!
thanks.
Noam |
|
Back to top |
|
 |
funkytoad -
Joined: 20 Jun 2006 Posts: 9 Location: Washington, United States
|
Posted: Sun Apr 08, 2007 3:46 am Post subject: |
|
|
I just love a happy ending! _________________ The FunkyToad Network
www.FunkyToad.net |
|
Back to top |
|
 |
|