Docs.rs
go-http-0.1.3
go-http 0.1.3
Permalink
Docs.rs crate page
Apache-2.0
05 July 2026
Links
Repository
crates.io
Source
Owners
berryware
Dependencies
base64 ^0.22
normal
go-lib ^0.6.2
normal
go-lib-macros ^0.6.2
normal
rustls ^0.23
normal
rustls-pemfile ^2
normal
url ^2
normal
webpki-roots ^0.26
normal
Versions
48.66%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module util
go_http
0.1.3
Module util
Module Items
Re-exports
Functions
In crate go_
http
go_http
Module
util
Copy item path
Source
Re-exports
§
pub use crate::mime::
detect_content_type
;
Functions
§
canonical_
header_
key
Return a header key in canonical form.
error
Write a plain-text error response. Port of Go’s
http.Error
.
not_
found
Reply with 404 Not Found. Port of Go’s
http.NotFound
.
parse_
time
Parse an HTTP-date string in any of the three formats Go accepts: RFC 1123 (“Mon, 02 Jan 2006 15:04:05 GMT”), RFC 850 (“Monday, 02-Jan-06 15:04:05 GMT”), asctime (“Mon Jan 2 15:04:05 2006”).
redirect
Reply with a redirect to
url
. Port of Go’s
http.Redirect
.
set_
cookie
Append a Set-Cookie header to the response. Port of Go’s
http.SetCookie
.