diff options
author | ipknHama <ipknhama@gmail.com> | 2014-04-15 05:11:37 +0900 |
---|---|---|
committer | ipknHama <ipknhama@gmail.com> | 2014-04-15 05:11:37 +0900 |
commit | f8ee6d4dadbc8f28095346b91d0a3ed3ed495c4f (patch) | |
tree | a4cd5acfd25f91fa17ee1c24f07c0fcd7c127eb7 /utility.h | |
parent | b69a40c15b1f947acdb7f8dcfdd25a4fc3685339 (diff) | |
download | crow-f8ee6d4dadbc8f28095346b91d0a3ed3ed495c4f.tar.gz crow-f8ee6d4dadbc8f28095346b91d0a3ed3ed495c4f.zip |
add test for parameter tagging, response
Diffstat (limited to 'utility.h')
-rw-r--r-- | utility.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -94,7 +94,8 @@ namespace flask constexpr bool is_str(const_str s, unsigned i) { - return is_equ_n(s, i, "<str>", 0, 5); + return is_equ_n(s, i, "<str>", 0, 5) || + is_equ_n(s, i, "<string>", 0, 8); } constexpr bool is_path(const_str s, unsigned i) |