aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/location.h
blob: ece4def07ad51de84fe196639daadff5c9f95674 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once 
 
#include <util/generic/string.h> 
 
namespace NUri { 
    /**
 * Resolve Location header according to https://tools.ietf.org/html/rfc7231#section-7.1.2 
 * 
 * @return  Resolved location's url or empty string in case of any error. 
 */ 
    TString ResolveRedirectLocation(const TStringBuf& baseUrl, const TStringBuf& location);
 
}