| 970 | -------------------------------------------------------------------------*/ |
| 971 | |
| 972 | inline void |
| 973 | HTTPHdr::method_set(const char *value, int length) |
| 974 | { |
| 975 | ink_assert(valid()); |
| 976 | ink_assert(m_http->m_polarity == HTTP_TYPE_REQUEST); |
| 977 | |
| 978 | int method_wks_idx = hdrtoken_tokenize(value, length); |
| 979 | http_hdr_method_set(m_heap, m_http, value, method_wks_idx, length, true); |
| 980 | } |
| 981 | |
| 982 | /*------------------------------------------------------------------------- |
| 983 | -------------------------------------------------------------------------*/ |
no test coverage detected