MCPcopy Create free account
hub / github.com/3rdparty/libprocess / on_header_value

Method on_header_value

src/decoder.hpp:411–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected