commit f09187797fd3e487c8fece6658eb96e314561998 parent 3bfa904dfbe38877e3a50d697eaae76abd77de0c Author: ukai <ukai> Date: Fri, 8 Feb 2002 11:25:24 +0000 add comments Diffstat:
M | url.c | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/url.c b/url.c @@ -2075,6 +2075,12 @@ searchURIMethods(ParsedURL *pu) if (scheme == NULL) return NULL; + /* + * RFC2396 3.1. Scheme Component + * For resiliency, programs interpreting URI should treat upper case + * letters as equivalent to lower case in scheme names (e.g., allow + * "HTTP" as well as "http"). + */ for (i = 0; (ump = urimethods[i]) != NULL; i++) { for (; ump->item1 != NULL; ump++) { if (strcasecmp(ump->item1, scheme->ptr) == 0) {