/usr/include/ace/INet/HTTP_Response.inl is in libace-inet-dev 6.0.3+dfsg-0.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | // -*- C++ -*-
//
// $Id: HTTP_Response.inl 90450 2010-06-08 07:25:58Z mcorino $
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
namespace ACE
{
namespace HTTP
{
ACE_INLINE
void Response::reset ()
{
this->clear ();
this->set_version (EMPTY);
this->status_ = Status ();
}
ACE_INLINE
void Response::reset (const Status& status)
{
this->clear ();
this->set_version (EMPTY);
this->status_ = status;
}
ACE_INLINE
void Response::reset (const ACE_CString& version, const Status& status)
{
this->clear ();
this->set_version (version);
this->status_ = status;
}
ACE_INLINE
void Response::set_status(const Status& status)
{
this->status_ = status;
}
/// Return the status.
ACE_INLINE
const Status& Response::get_status() const
{
return this->status_;
}
}
}
ACE_END_VERSIONED_NAMESPACE_DECL
|