-#if defined(FEATURE_IMAGE_DETECT_MSIE)
-/*********************************************************************
- *
- * Function : client_accept
- *
- * Description : Detect whether the client wants HTML or an image.
- * Clients do not always make this information available
- * in a sane way. Always passes the header through
- * the proxy unchanged.
- *
- * Parameters :
- * 1 : v = Ignored.
- * 2 : s = Header string. Null terminated.
- * 3 : csp = Current client state (buffers, headers, etc...)
- *
- * Returns : Duplicate of argument s.
- *
- *********************************************************************/
-char *client_accept(const struct parsers *v, const char *s, struct client_state *csp)
-{
-#ifdef FEATURE_IMAGE_DETECT_MSIE
- if (strstr (s, "image/gif"))
- {
- /* Client will accept HTML. If this seems counterintuitive,
- * blame Microsoft.
- */
- csp->accept_types |= ACCEPT_TYPE_MSIE_HTML;
- }
- else
- {
- csp->accept_types |= ACCEPT_TYPE_MSIE_IMAGE;
- }
-#endif /* def FEATURE_IMAGE_DETECT_MSIE */
-
- return(strdup(s));
-
-}
-#endif /* defined(FEATURE_IMAGE_DETECT_MSIE) */
-
-
-