Searched hist:133836 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/release/picobsd/tinyware/simple_httpd/ | ||
H A D | simple_httpd.c | diff 133836 Mon Aug 16 07:38:34 MDT 2004 dwmalone Improve MIME handling. This patch is based on Eugene's patch, but with the following changes: 1) Don't make a mime_types.h 'cos we should avoid creating variables in header files, 2) Use strrchr to find the extension, rather than strchr, 3) Slightly simplify the mime-type matching loop. any goof are likely to be mine. Note that there are links to more improvements by Eugene in the PR. PR: 29725 Submitted by: Eugene Grosbein <eugen@kuzbass.ru> |
Completed in 164 milliseconds