import { type Headers } from "https://deno.land/x/deno@v0.28.0/cli/js/dom_types.ts";
Methods
Appends a new value onto an existing header inside a Headers
object, or
adds the header if it does not already exist.
Returns an iterator allowing to go through all key/value pairs contained in this Headers object. The both the key and value of each pairs are ByteString objects.
Returns a ByteString
sequence of all the values of a header within a
Headers
object with a given name.
Returns a boolean stating whether a Headers
object contains a certain
header.
Returns an iterator allowing to go through all keys contained in this Headers object. The keys are ByteString objects.
Sets a new value for an existing header inside a Headers object, or adds the header if it does not already exist.
Returns an iterator allowing to go through all values contained in this Headers object. The values are ByteString objects.