rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
wa_http_head_t Struct Reference

#include <wa_fetch.h>

Data Fields

int status
int64_t length
bool chunked
size_t loc_n
bool loc_cut

Detailed Description

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.

Field Documentation

◆ chunked

bool wa_http_head_t::chunked

Transfer-Encoding: chunked

◆ length

int64_t wa_http_head_t::length

Content-Length; -1 none

◆ loc_cut

bool wa_http_head_t::loc_cut

the Location was longer than the buffer

◆ loc_n

size_t wa_http_head_t::loc_n

Location bytes kept; 0 none

◆ status

int wa_http_head_t::status

HTTP status; 0 none


The documentation for this struct was generated from the following file: