| 101 | } |
| 102 | |
| 103 | bool |
| 104 | HttpHeader::setReason(char const *const valstr, int const vallen) |
| 105 | { |
| 106 | if (isValid()) { |
| 107 | return TS_SUCCESS == TSHttpHdrReasonSet(m_buffer, m_lochdr, valstr, vallen); |
| 108 | } else { |
| 109 | return false; |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | char const * |
| 114 | HttpHeader::getCharPtr(CharPtrGetFunc func, int *const len) const |
no test coverage detected