Changeset 1319

Show
Ignore:
Timestamp:
2005-06-07 07:05:42 (4 years ago)
Author:
conrad
Message:

delay addition of X-Accept-TimeURI HTTP response header until after checking
that this is the right module; ie. don't add it when returning DECLINED,
NOT_FOUND etc. Fix from thomasvs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mod_annodex-ap13/trunk/mod_annodex.c

    r1253 r1319  
    800800  table * cgi_table; 
    801801 
    802   table_set (r->headers_out, (const char *)"X-Accept-TimeURI", 
    803              "application/x-annodex"); 
    804  
    805802  uri = &(r->parsed_uri); 
    806803 
     
    896893    r->content_type = ANX_MIME_TYPE; 
    897894  } 
     895 
     896  table_set (r->headers_out, (const char *)"X-Accept-TimeURI", 
     897             "application/x-annodex"); 
    898898 
    899899#ifdef BLAHBLIMBLAM__PROTOTYPE