Documentation ¶
Index ¶
Constants ¶
View Source
const AcceptedSxgVersion = "b3"
The SXG version that packager can produce. In the future, it may need to be able to produce multiple versions.
View Source
const SxgContentType = "application/signed-exchange;v=" + AcceptedSxgVersion
The Content-Type for the SXG version that the signer produces.
Variables ¶
View Source
var SxgVersion = version.Version1b3
The enum of the SXG version that the signer produces, for passing to the signedexchange library.
Functions ¶
func CanSatisfy ¶
True if the given Accept header is one that the packager can satisfy. It must contain application/signed-exchange;v=$V so that the packager knows whether or not it can supply the correct version. "" and "*/*" are not satisfiable, for this reason.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.