|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
#include <wa_fetch.h>
Data Fields | |
| int | status |
| int64_t | length |
| bool | chunked |
| size_t | loc_n |
| bool | loc_cut |
A response's head, as the client read it. chunked is the header Transfer-Encoding: chunked, not a guess from a missing length: GitHub's API answers a request its cache does not hold in chunks, without a Content-Length (its Cache-Control is max-age=60), and the same request from its cache with one.
| bool wa_http_head_t::chunked |
Transfer-Encoding: chunked
| int64_t wa_http_head_t::length |
Content-Length; -1 none
| bool wa_http_head_t::loc_cut |
the Location was longer than the buffer
| size_t wa_http_head_t::loc_n |
Location bytes kept; 0 none
| int wa_http_head_t::status |
HTTP status; 0 none