aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/uri/location.h
blob: 9478510fd3017ff0eea40ba30cd931d69d52a005 (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); 

}