forked from boostorg/beast
Add has_content_length_impl to Fields (API Change):
* The function has_content_length_impl is added to the requirements of Fields. Actions Required: * Implement has_content_length_impl for user-defined Fields
This commit is contained in:
1 parent
feb525f829
commit
6225c5bd2f
8 files changed
+69
-11
No files matched your search
@@ -938,6 +938,14 @@ get_keep_alive_impl(unsigned version) const
|
||||
it->value()}.exists("close");
|
||||
}
|
||||
|
||||
template<class Allocator>
|
||||
bool
|
||||
basic_fields<Allocator>::
|
||||
has_content_length_impl() const
|
||||
{
|
||||
return count(field::content_length) > 0;
|
||||
}
|
||||
|
||||
template<class Allocator>
|
||||
inline
|
||||
void
|
||||
|
||||
Reference in new issue
Block a user