| 686 | -------------------------------------------------------------------------*/ |
| 687 | |
| 688 | inline void |
| 689 | HTTPHdr::create(HTTPType polarity, HTTPVersion version, HdrHeap *heap) |
| 690 | { |
| 691 | if (heap) { |
| 692 | m_heap = heap; |
| 693 | } else if (!m_heap) { |
| 694 | m_heap = new_HdrHeap(); |
| 695 | } |
| 696 | |
| 697 | m_http = http_hdr_create(m_heap, polarity, version); |
| 698 | m_mime = m_http->m_fields_impl; |
| 699 | } |
| 700 | |
| 701 | inline void |
| 702 | HTTPHdr::clear() |
no test coverage detected