Lines Matching refs:CONST_STR_LEN

53                                   CONST_STR_LEN("Content-Type"));  in test_http_response_send_file()
54 assert(vb && buffer_eq_slen(vb, CONST_STR_LEN("application/octet-stream"))); in test_http_response_send_file()
62 CONST_STR_LEN("Content-Type")); in test_http_response_send_file()
63 assert(vb && buffer_eq_slen(vb, CONST_STR_LEN("text/plain"))); in test_http_response_send_file()
65 CONST_STR_LEN("ETag")); in test_http_response_send_file()
68 CONST_STR_LEN("Last-Modified")); in test_http_response_send_file()
73 buffer_append_string_len(&r->physical.path, CONST_STR_LEN("-nonexistent")); in test_http_response_send_file()
80 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
81 CONST_STR_LEN("")); in test_http_response_send_file()
87 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
88 CONST_STR_LEN("foobar")); in test_http_response_send_file()
94 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
95 CONST_STR_LEN("this string is too long to be a valid timestamp")); in test_http_response_send_file()
106 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
114 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
122 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
130 CONST_STR_LEN("If-Modified-Since"))); in test_http_response_send_file()
134 CONST_STR_LEN("If-Modified-Since")), in test_http_response_send_file()
135 CONST_STR_LEN("; foo")); in test_http_response_send_file()
141 CONST_STR_LEN("If-Modified-Since")); in test_http_response_send_file()
145 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
146 CONST_STR_LEN("foo")); in test_http_response_send_file()
150 CONST_STR_LEN("ETag")); in test_http_response_send_file()
156 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
164 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
172 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
177 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
185 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
189 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
197 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
200 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
201 CONST_STR_LEN("Sun, 01 Jan 1970 00:00:01 GMT foo")); in test_http_response_send_file()
208 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
209 CONST_STR_LEN("foo")); in test_http_response_send_file()
213 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
221 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
222 CONST_STR_LEN("foo")); in test_http_response_send_file()
225 CONST_STR_LEN("If-Modified-Since"), in test_http_response_send_file()
233 CONST_STR_LEN("If-Modified-Since")); in test_http_response_send_file()
236 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
243 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
250 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
251 CONST_STR_LEN("*")); in test_http_response_send_file()
257 CONST_STR_LEN("If-None-Match"), in test_http_response_send_file()
258 CONST_STR_LEN("\"*\"")); in test_http_response_send_file()
265 CONST_STR_LEN("If-None-Match")); in test_http_response_send_file()
267 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("W/")); in test_http_response_send_file()
275 CONST_STR_LEN("Range"), in test_http_response_send_file()
276 CONST_STR_LEN("bytes=0-0")); in test_http_response_send_file()
280 http_header_request_unset(r, HTTP_HEADER_RANGE, CONST_STR_LEN("Range")); in test_http_response_send_file()
282 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("W/\"12345\"")); in test_http_response_send_file()
287 buffer_append_string_len(rqst_etag, CONST_STR_LEN(", ")); in test_http_response_send_file()
293 buffer_append_string_len(rqst_etag, CONST_STR_LEN(", W/")); in test_http_response_send_file()
299 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("\"12345\",, ,, , ")); in test_http_response_send_file()
305 buffer_copy_string_len(rqst_etag, CONST_STR_LEN("\"1234\", ")); in test_http_response_send_file()
307 buffer_append_string_len(rqst_etag, CONST_STR_LEN(", \"brokentrailing")); in test_http_response_send_file()
313 CONST_STR_LEN("If-None-Match")); in test_http_response_send_file()
340 buffer_copy_string_len(&r->pathinfo, CONST_STR_LEN("/pathinfo")); in test_mod_staticfile_process()
355 array_insert_value(a, CONST_STR_LEN(".exe")); in test_mod_staticfile_process()
360 buffer_append_string_len(&r->physical.path, CONST_STR_LEN(".exe")); in test_mod_staticfile_process()
403 buffer_copy_string_len(&r.uri.path, CONST_STR_LEN("/")); in test_mod_staticfile()
407 CONST_STR_LEN("text/plain")); in test_mod_staticfile()