diff options
author | Luiz Eduardo Gava <luiz.gava@procempa.com.br> | 2016-11-08 19:44:35 +0300 |
---|---|---|
committer | Luiz Eduardo Gava <luiz.gava@procempa.com.br> | 2016-11-08 19:44:35 +0300 |
commit | ced0856ab1573d698c85c53069162aac7a3d5c50 (patch) | |
tree | 656d5b645a2977a8c1d9c7c099f26954d3b556bc /src/Mayaqua/Network.h | |
parent | 8520502707f45d8476c9d6b668b942ead5681400 (diff) |
HTTPS /wiki redir to 443 (test)
Diffstat (limited to 'src/Mayaqua/Network.h')
-rw-r--r-- | src/Mayaqua/Network.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mayaqua/Network.h b/src/Mayaqua/Network.h index bb4c69b7..6d579f8e 100644 --- a/src/Mayaqua/Network.h +++ b/src/Mayaqua/Network.h @@ -1043,6 +1043,7 @@ char *HttpHeaderToStr(HTTP_HEADER *header); bool PostHttp(SOCK *s, HTTP_HEADER *header, void *post_data, UINT post_size);
UINT GetContentLength(HTTP_HEADER *header);
void GetHttpDateStr(char *str, UINT size, UINT64 t);
+bool HttpSendRedirect(SOCK *s, char *target, char* hostname);
bool HttpSendForbidden(SOCK *s, char *target, char *server_id);
bool HttpSendNotFound(SOCK *s, char *target);
bool HttpSendNotImplemented(SOCK *s, char *method, char *target, char *version);
|