Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


Deno standard library
Go to Latest
import * as mod from "";


ParseHTTPVersion parses a HTTP version string. "HTTP/1.0" returns (1, 0). Ported from

Read trailer headers from reader and append values to headers. "trailer" field will be deleted.

Write trailer headers to writer. It should mostly should be called after writeResponse().