93 |
|
bool binary; |
94 |
|
stringstream page; |
95 |
|
string type; |
96 |
< |
unsigned length; |
96 |
> |
size_t length; |
97 |
|
string location; |
98 |
|
bool chunked; |
99 |
|
void populate(); |
115 |
|
bool good() const { return page.good(); } |
116 |
|
void clear(); |
117 |
|
const string& contentType() const { return type; } |
118 |
< |
unsigned contentLength() const { return length; } |
118 |
> |
size_t contentLength() const { return length; } |
119 |
|
const string& redirect() const { return location; } |
120 |
|
// friends: |
121 |
|
friend istream& operator>>(istream& is, Code& data) |