mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
- It allows adding of multiple headers on response using Poco::Net::NameValueCollection::set("", "") when running application over Apache Connector
This commit is contained in:
parent
ec8a38f3ba
commit
f5165c8584
@ -59,6 +59,11 @@ void ApacheServerResponse::initApacheOutputStream()
|
||||
_pApacheRequest->addHeader("Set-Cookie", cookies[c].toString());
|
||||
}
|
||||
|
||||
for (Poco::Net::NameValueCollection::ConstIterator it = begin(); it != end(); ++it)
|
||||
{
|
||||
_pApacheRequest->addHeader(it->first, it->second);
|
||||
}
|
||||
|
||||
_pStream = new ApacheOutputStream(_pApacheRequest);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user