Print more quotes.

This commit is contained in:
Emil Mikulic 2011-01-19 00:47:18 +11:00
parent b8bf9a0f72
commit adb6b02603
2 changed files with 3 additions and 3 deletions

View File

@ -1689,7 +1689,7 @@ static void process_get(struct connection *conn) {
}
free(decoded_url);
if (debug)
printf("uri=%s, target=%s, content-type=%s\n",
printf("uri=\"%s\", target=\"%s\", content-type=\"%s\"\n",
conn->uri, target, mimetype);
/* open file */

View File

@ -108,8 +108,8 @@ def makeCase(name, url, hdr_checker=None, body_checker=None,
def makeCases(name, url, hdr_checker=None, body_checker=None,
req_hdrs={"User-Agent": "test.py"}):
# FIXME: 0.9 is broken
#for http_ver in [None, "1.0", "1.1"]:
for http_ver in ["1.0", "1.1"]:
for http_ver in [None, "1.0", "1.1"]:
#for http_ver in ["1.0", "1.1"]:
for endl in ["\n", "\r\n"]:
makeCase(name, url, hdr_checker, body_checker,
req_hdrs, http_ver, endl)