blob: 0f533fe0b5c7058211e016351b0f2cdd3446b6a6 (
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);
}
|