mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Print more quotes.
This commit is contained in:
parent
b8bf9a0f72
commit
adb6b02603
@ -1689,7 +1689,7 @@ static void process_get(struct connection *conn) {
|
|||||||
}
|
}
|
||||||
free(decoded_url);
|
free(decoded_url);
|
||||||
if (debug)
|
if (debug)
|
||||||
printf("uri=%s, target=%s, content-type=%s\n",
|
printf("uri=\"%s\", target=\"%s\", content-type=\"%s\"\n",
|
||||||
conn->uri, target, mimetype);
|
conn->uri, target, mimetype);
|
||||||
|
|
||||||
/* open file */
|
/* open 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,
|
def makeCases(name, url, hdr_checker=None, body_checker=None,
|
||||||
req_hdrs={"User-Agent": "test.py"}):
|
req_hdrs={"User-Agent": "test.py"}):
|
||||||
# FIXME: 0.9 is broken
|
# FIXME: 0.9 is broken
|
||||||
#for http_ver in [None, "1.0", "1.1"]:
|
for http_ver in [None, "1.0", "1.1"]:
|
||||||
for http_ver in ["1.0", "1.1"]:
|
#for http_ver in ["1.0", "1.1"]:
|
||||||
for endl in ["\n", "\r\n"]:
|
for endl in ["\n", "\r\n"]:
|
||||||
makeCase(name, url, hdr_checker, body_checker,
|
makeCase(name, url, hdr_checker, body_checker,
|
||||||
req_hdrs, http_ver, endl)
|
req_hdrs, http_ver, endl)
|
||||||
|
Loading…
Reference in New Issue
Block a user