Uri.h
Go to the documentation of this file.
216 char *urlCanonicalCleanWithoutRequest(const SBuf &url, const HttpRequestMethod &, const AnyP::UriScheme &);
227 };
262 int matchDomainName(const char *host, const char *domain, MatchDomainNameFlags flags = mdnNone);
bool urlAppendDomain(char *host)
apply append_domain config to the given hostname
Definition: Uri.cc:225
char host_[SQUIDHOSTNAMELEN]
string representation of the URI authority name or IP
Definition: Uri.h:174
void defaultPort()
reset the port to the default port number for the current scheme
Definition: Uri.h:97
const char * urlCanonicalFakeHttps(const HttpRequest *request)
Definition: Uri.cc:649
Definition: UriScheme.h:25
void urlExtMethodConfigure(void)
char * urlCanonicalCleanWithoutRequest(const SBuf &url, const HttpRequestMethod &, const AnyP::UriScheme &)
Definition: Uri.cc:620
Definition: HttpRequest.h:49
Definition: forward.h:15
Definition: RequestMethod.h:27
char * urlInternal(const char *dir, const char *name)
Definition: Tokenizer.h:30
char * urlRInternal(const char *host, unsigned short port, const char *dir, const char *name)
int matchDomainName(const char *host, const char *domain, MatchDomainNameFlags flags=mdnNone)
Definition: Uri.cc:736
void setEmpty()
Fast reset of the stored content to what would be after default constructor.
Definition: Address.cc:184
MEMPROXY_CLASS(Uri)
SBuf authorityHttp_
RFC 7230 section 5.3.3 authority, maybe without default-port.
Definition: Uri.h:184
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
void setScheme(const AnyP::ProtocolType &p, const char *str)
convert the URL scheme to that given
Definition: Uri.h:70
Ip::Address hostAddr_
binary representation of the URI authority if it is a raw-IP
Definition: Uri.h:176
Definition: Address.h:41
static SBuf Encode(const SBuf &, const CharacterSet &expected)
Definition: Uri.cc:56