0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 20:30:23 +00:00

The TLS certificate can be accessed directly

This commit is contained in:
Loïc Hoguin 2018-06-11 20:51:57 +02:00
parent 5758336453
commit 69451dd98d
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -19,7 +19,8 @@ and can be accessed directly. They are the fields that have
a direct mapping to HTTP: the request `method`; the HTTP a direct mapping to HTTP: the request `method`; the HTTP
`version` used; the effective URI components `scheme`, `version` used; the effective URI components `scheme`,
`host`, `port`, `path` and `qs`; the request `headers`; `host`, `port`, `path` and `qs`; the request `headers`;
and the connection `peer` address and port. the connection `peer` address and port; and the TLS
certificate `cert` when applicable.
Note that the `version` field can be used to determine Note that the `version` field can be used to determine
whether a connection is using HTTP/2. whether a connection is using HTTP/2.