Skip to content

Commit b445576

Browse files
committed
Fix formatting style
1 parent f41e7eb commit b445576

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

httplib.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8665,7 +8665,8 @@ inline bool ClientImpl::redirect(Request &req, Response &res, Error &error) {
86658665

86668666
// Same host redirect - use current client
86678667
if (next_scheme == scheme && next_host == host_ && next_port == port_) {
8668-
this->set_path_encode(false); //Disable path encoding, redirects should already be encoded
8668+
this->set_path_encode(
8669+
false); //Disable path encoding, redirects should already be encoded
86698670
return detail::redirect(*this, req, res, path, location, error);
86708671
}
86718672

@@ -8757,7 +8758,8 @@ inline void ClientImpl::setup_redirect_client(ClientType &client) {
87578758
client.set_keep_alive(keep_alive_);
87588759
client.set_follow_location(
87598760
true); // Enable redirects to handle multi-step redirects
8760-
client.set_path_encode(false); //Disable encoding, redirects should already be encoded
8761+
client.set_path_encode(
8762+
false); //Disable encoding, redirects should already be encoded
87618763
client.set_compress(compress_);
87628764
client.set_decompress(decompress_);
87638765

0 commit comments

Comments
 (0)