mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
integrated improvements from 1.3.4 (NumberFormatter::append(), DateTimeFormatter::append()
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// HTTPResponse.cpp
|
||||
//
|
||||
// $Id: //poco/svn/Net/src/HTTPResponse.cpp#2 $
|
||||
// $Id: //poco/Main/Net/src/HTTPResponse.cpp#13 $
|
||||
//
|
||||
// Library: Net
|
||||
// Package: HTTP
|
||||
@@ -212,7 +212,7 @@ void HTTPResponse::getCookies(std::vector<HTTPCookie>& cookies) const
|
||||
|
||||
void HTTPResponse::write(std::ostream& ostr) const
|
||||
{
|
||||
ostr << getVersion() << " " << NumberFormatter::format((int) _status) << " " << _reason << "\r\n";
|
||||
ostr << getVersion() << " " << static_cast<int>(_status) << " " << _reason << "\r\n";
|
||||
HTTPMessage::write(ostr);
|
||||
ostr << "\r\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user