| 409 | } |
| 410 | |
| 411 | static int on_header_value(http_parser* p, const char* data, size_t length) |
| 412 | { |
| 413 | ResponseDecoder* decoder = (ResponseDecoder*) p->data; |
| 414 | CHECK_NOTNULL(decoder->response); |
| 415 | decoder->value.append(data, length); |
| 416 | decoder->header = HEADER_VALUE; |
| 417 | return http_parsing::SUCCESS; |
| 418 | } |
| 419 | |
| 420 | static int on_headers_complete(http_parser* p) |
| 421 | { |
nothing calls this directly
no outgoing calls
no test coverage detected