The 304 not modified status code is an HTTP protocol error code that the 
webserver sends if a browser sends a request for a document that it already
has in cache.  If it doesn't have the document in cache the server sends a 
"200 OK" error code and then sends the document, but if it is in cache and 
the date and time and size of the document is the same, then it doesn't
resend it, which saves on the network load.  Why you are getting this 304
code on a request made by htdig, I'm not sure.  Maybe someone else would
have a better idea.

Don MacDougall
[EMAIL PROTECTED]

On Thu, Sep 20, 2007 at 08:41:50AM -0500, CHUN KI SHIN wrote:
> 
> I've noticed even if 304 Not Modified header line was returned some files
> with .doc and htm extension are searchable in both QA and Production. What
> am I missing here? Can anyone please help me what might cause this
> difference?
> 
> From: [EMAIL PROTECTED]
> To: htdig-general@lists.sourceforge.net
> Date: Wed, 19 Sep 2007 16:18:27 -0500
> Subject: [htdig] 304 Not Modified
> 
> Hi,
>  
> In two different environments, I've tried to index .doc files. In one
> environment, with -vvv option, I was able to see that A.doc file was
> correctly being indexed and returned the status code 200. However, in the
> other environment, I was getting the 304 Not Modified status code and the
> content wasn't searchable.
>  
> Can any one point me to a right direction where I can fix this issue?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ht://Dig general mailing list: <htdig-general@lists.sourceforge.net>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to