diff options
author | trifon <trifon@yandex-team.ru> | 2022-02-10 16:50:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:51 +0300 |
commit | dd6b55b11723e4bb5b0cf7bffc0e45f15e2e46d3 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/uri/http_url.h | |
parent | e3135d62bbcf321d86fff8258f5cdc5b2f57bde5 (diff) | |
download | ydb-dd6b55b11723e4bb5b0cf7bffc0e45f15e2e46d3.tar.gz |
Restoring authorship annotation for <trifon@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/uri/http_url.h')
-rw-r--r-- | library/cpp/uri/http_url.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/uri/http_url.h b/library/cpp/uri/http_url.h index 11ebfc939b..7c8e8d844d 100644 --- a/library/cpp/uri/http_url.h +++ b/library/cpp/uri/http_url.h @@ -1,26 +1,26 @@ #pragma once - + #include "uri.h" #include "other.h" // XXX: use NUri::TUri directly; this whole file is for backwards compatibility -class THttpURL +class THttpURL : public NUri::TUri { public: typedef TField::EFlags TFlags; typedef TField::EField TField; typedef TScheme::EKind TSchemeKind; typedef TState::EParsed TParsedState; - + public: enum { FeatureUnescapeStandard = TFeature::FeatureDecodeStandard, FeatureEscSpace = TFeature::FeatureEncodeSpaceAsPlus, FeatureEscapeUnescaped = TFeature::FeatureEncodeExtendedASCII, FeatureNormalPath = TFeature::FeaturePathStripRootParent, - }; - + }; + public: THttpURL(unsigned defaultPort = 80) : TUri(defaultPort) @@ -31,7 +31,7 @@ public: : TUri(host, port, path, query, scheme, defaultPort) { } - + THttpURL(const TUri& url) : TUri(url) { @@ -67,7 +67,7 @@ public: // use TUri::FldXXX methods for better control void Reset(EField field) { FldClr(field); } -}; +}; static inline const char* HttpURLParsedStateToString(const NUri::TState::EParsed& t) { return NUri::ParsedStateToString(t); |