Skip to content

Commit

Permalink
Add documentation for originalPath_
Browse files Browse the repository at this point in the history
  • Loading branch information
Mis1eader-dev committed Sep 14, 2024
1 parent a2fd755 commit f643717
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/HttpRequestImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ class HttpRequestImpl : public HttpRequest
HttpMethod previousMethod_{Invalid};
Version version_{Version::kUnknown};
std::string path_;
/// Contains the encoded `path_` if and only if `path_` is set in encoded
/// form. If path is in a normal form and needed no decoding, then this will
/// be empty, as we do not need to store a duplicate.
std::string originalPath_;
bool pathEncode_{true};
std::string_view matchedPathPattern_{""};
Expand Down

0 comments on commit f643717

Please sign in to comment.