mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
test_digestauth{._with_arguments}: do test really with arguments
This commit is contained in:
@@ -216,7 +216,7 @@ _checkCURLE_OK_func (CURLcode code, const char *curlFunc,
|
||||
/* Could be increased to facilitate debugging */
|
||||
#define TIMEOUTS_VAL 5
|
||||
|
||||
#define MHD_URI_BASE_PATH "/bar%20foo%3Fkey%3Dvalue"
|
||||
#define MHD_URI_BASE_PATH "/bar%20foo?key=value"
|
||||
|
||||
#define PAGE \
|
||||
"<html><head><title>libmicrohttpd demo</title></head><body>Access granted</body></html>"
|
||||
|
||||
@@ -234,7 +234,8 @@ testDigestAuth ()
|
||||
}
|
||||
snprintf (url,
|
||||
sizeof (url),
|
||||
"http://127.0.0.1:%d/bar%%20foo%%3Fkey%%3Dvalue",
|
||||
"http://127.0.0.1:%d/bar%%20foo?"
|
||||
"key=value&more=even%%20more&empty&=no_key&&same=one&&same=two",
|
||||
port);
|
||||
c = curl_easy_init ();
|
||||
curl_easy_setopt (c, CURLOPT_URL, url);
|
||||
|
||||
Reference in New Issue
Block a user