summaryrefslogtreecommitdiff
path: root/src/HttpResponse.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
commit032c7c28083e17bdcfd763b3cf81447b06a07978 (patch)
treee5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/HttpResponse.h
parentca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff)
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/HttpResponse.h')
-rw-r--r--src/HttpResponse.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/HttpResponse.h b/src/HttpResponse.h
index cc467b8d..57cfdd83 100644
--- a/src/HttpResponse.h
+++ b/src/HttpResponse.h
@@ -49,7 +49,7 @@ class Logger;
class HttpResponse {
private:
int32_t cuid;
- int32_t status;
+ unsigned int status;
SharedHandle<HttpRequest> httpRequest;
SharedHandle<HttpHeader> httpHeader;
const Logger* logger;
@@ -85,9 +85,9 @@ public:
SharedHandle<TransferEncoding> getTransferDecoder() const;
- int64_t getContentLength() const;
+ uint64_t getContentLength() const;
- int64_t getEntityLength() const;
+ uint64_t getEntityLength() const;
std::string getContentType() const;
@@ -95,12 +95,12 @@ public:
SharedHandle<HttpHeader> getHttpHeader() const;
- void setStatus(int32_t status)
+ void setStatus(unsigned int status)
{
this->status = status;
}
- int32_t getStatus() const
+ unsigned int getStatus() const
{
return status;
}