location.h 339 B

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