aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/encode.h
diff options
context:
space:
mode:
authorsocialgraph <socialgraph@yandex-team.com>2022-09-11 21:01:07 +0300
committersocialgraph <socialgraph@yandex-team.com>2022-09-11 21:01:07 +0300
commitf6f95427f2d96542fe7333fb9e7a44d0f4b3e595 (patch)
tree45e7334ef871a818489e62d103281eaea541304d /library/cpp/uri/encode.h
parenteb1b0261b7cff8093f5d63c6fd0f9b12f94196cf (diff)
downloadydb-f6f95427f2d96542fe7333fb9e7a44d0f4b3e595.tar.gz
test canonize with hash bang
test hash bang
Diffstat (limited to 'library/cpp/uri/encode.h')
-rw-r--r--library/cpp/uri/encode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/cpp/uri/encode.h b/library/cpp/uri/encode.h
index a9ece15427..aff7a76c4d 100644
--- a/library/cpp/uri/encode.h
+++ b/library/cpp/uri/encode.h
@@ -81,6 +81,11 @@ namespace NUri {
{
}
+ public:
+ bool Is(TField::EField fld) const {
+ return FldMask & (1u << fld);
+ }
+
protected:
const ui64 Flags;
const ui32 FldMask;