added: we can use different redirect codes now
(int Request::redirect_type variable) we can set following integer values: 300 - Multiple Choices 301 - Moved Permanently 302 - Found 307 - Temporary Redirect 303 - See Other default is 303 for all redirects git-svn-id: svn://ttmath.org/publicrep/winix/trunk@749 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -131,6 +131,7 @@ private:
|
||||
std::string url_to_fetch_on_exit;
|
||||
std::string source_a;
|
||||
std::string sendheadersstatic_t, sendheadersstatic_t2;
|
||||
std::string sendfilea, sendfile2a;
|
||||
|
||||
void ProcessRequestThrow();
|
||||
void ProcessRequest();
|
||||
@@ -157,6 +158,10 @@ private:
|
||||
void FilterCompressSend(bool compressing, int compress_encoding, const std::wstring & source_ref);
|
||||
void SendHeadersStatic();
|
||||
void SendHeadersForbidden();
|
||||
void SendHeadersRedirect();
|
||||
void SendHeadersSendFile();
|
||||
void SendHeadersCompression(int compress_encoding);
|
||||
void SendHeadersNormal(Header header);
|
||||
void SendHeaders(bool compressing, int compress_encoding, Header header);
|
||||
int SelectDeflateVersion();
|
||||
void SelectCompression(size_t source_len, bool & compression_allowed, int & compression_encoding);
|
||||
|
Reference in New Issue
Block a user