Field operations such as from_list or set may return a header-error. It is currently not specified which field names might cause these operations to return header-error.forbidden.
Wasmtime's implementation defines a list of default forbidden headers, which according to bytecodealliance/wasmtime#7538 (comment) that list is an evolution from what I believe is an original design document of the WASI HTTP spec.
Field operations such as
from_listorsetmay return aheader-error. It is currently not specified which field names might cause these operations to returnheader-error.forbidden.Wasmtime's implementation defines a list of default forbidden headers, which according to bytecodealliance/wasmtime#7538 (comment) that list is an evolution from what I believe is an original design document of the WASI HTTP spec.