Uri.h
Go to the documentation of this file.
221char *urlCanonicalCleanWithoutRequest(const SBuf &url, const HttpRequestMethod &, const AnyP::UriScheme &);
232};
char * urlRInternal(const char *host, unsigned short port, const char *dir, const char *name)
char * urlInternal(const char *dir, const char *name)
int matchDomainName(const char *host, const char *domain, MatchDomainNameFlags flags=mdnNone)
Definition: Uri.cc:820
const char * urlCanonicalFakeHttps(const HttpRequest *request)
Definition: Uri.cc:733
bool urlAppendDomain(char *host)
apply append_domain config to the given hostname
Definition: Uri.cc:223
char * urlCanonicalCleanWithoutRequest(const SBuf &url, const HttpRequestMethod &, const AnyP::UriScheme &)
Definition: Uri.cc:704
void urlExtMethodConfigure(void)
Definition: UriScheme.h:32
SBuf authorityHttp_
RFC 7230 section 5.3.3 authority, maybe without default-port.
Definition: Uri.h:189
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:181
char host_[SQUIDHOSTNAMELEN]
string representation of the URI authority name or IP
Definition: Uri.h:179
void defaultPort()
reset the port to the default port number for the current scheme
Definition: Uri.h:99
MEMPROXY_CLASS(Uri)
static SBuf Encode(const SBuf &, const CharacterSet &expected)
Definition: Uri.cc:57
optimized set of C chars, with quick membership test and merge support
Definition: CharacterSet.h:18
Definition: RequestMethod.h:27
Definition: HttpRequest.h:49
Definition: Address.h:41
void setEmpty()
Fast reset of the stored content to what would be after default constructor.
Definition: Address.cc:184
Definition: Tokenizer.h:30
Definition: forward.h:15
std::ostream & operator<<(std::ostream &os, ProtocolType const &p)
Definition: ProtocolType.h:52