mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
Core: HttpRequest::TraceHeader, TraceBody
git-svn-id: svn://ultimatepp.org/upp/trunk@6320 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
f7c4e9a8f4
commit
89e6e36eca
2 changed files with 12 additions and 0 deletions
|
|
@ -21,6 +21,16 @@ void HttpRequest::Trace(bool b)
|
|||
Ini::HttpRequest_TraceBody = b;
|
||||
}
|
||||
|
||||
void HttpRequest::TraceHeader(bool b)
|
||||
{
|
||||
Ini::HttpRequest_Trace = b;
|
||||
}
|
||||
|
||||
void HttpRequest::TraceBody(bool b)
|
||||
{
|
||||
Ini::HttpRequest_TraceBody = b;
|
||||
}
|
||||
|
||||
void HttpRequest::Init()
|
||||
{
|
||||
port = 0;
|
||||
|
|
|
|||
|
|
@ -508,6 +508,8 @@ public:
|
|||
HttpRequest(const char *url);
|
||||
|
||||
static void Trace(bool b = true);
|
||||
static void TraceHeader(bool b);
|
||||
static void TraceBody(bool b);
|
||||
};
|
||||
|
||||
bool HttpResponse(TcpSocket& socket, bool scgi, int code, const char *phrase,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue