5 Struct n_url_safe_head
gullradriel edited this page 2026-10-09 00:55:18 +02:00

n_url_safe_head

The response-head fields a fetcher acts on.

#include "n_url_safe.h"

Public Attributes

Name
int status
HTTP status code, e.g.
char[1024u+1] location
Location (redirects).
size_t head_len
bytes through the terminating CRLFCRLF
char[127u+1] content_type
mime, params dropped
long long content_length
Content-Length, or -1 if absent.
int chunked
Transfer-Encoding: chunked present.

Public Attributes Documentation

variable status

int status;

HTTP status code, e.g.

200 / 301

variable location

char[1024u+1] location;

Location (redirects).

variable head_len

size_t head_len;

bytes through the terminating CRLFCRLF

variable content_type

char[127u+1] content_type;

mime, params dropped

variable content_length

long long content_length;

Content-Length, or -1 if absent.

variable chunked

int chunked;

Transfer-Encoding: chunked present.