mirror of https://github.com/fafhrd91/actix-web
Rename security advertise header in doc
This commit is contained in:
parent
6ebfbf0001
commit
9dfefb0648
|
@ -80,8 +80,8 @@ use crate::HttpResponse;
|
||||||
///
|
///
|
||||||
/// `%{FOO}e` os.environ['FOO']
|
/// `%{FOO}e` os.environ['FOO']
|
||||||
///
|
///
|
||||||
/// ### **\* security warning**
|
/// # Security
|
||||||
/// It is calculated using
|
/// **\*** It is calculated using
|
||||||
/// [`ConnectionInfo::realip_remote_addr()`](../dev/struct.ConnectionInfo.html#method.realip_remote_addr)
|
/// [`ConnectionInfo::realip_remote_addr()`](../dev/struct.ConnectionInfo.html#method.realip_remote_addr)
|
||||||
///
|
///
|
||||||
/// If you use this value ensure that all requests come from trusted hosts, since it is trivial
|
/// If you use this value ensure that all requests come from trusted hosts, since it is trivial
|
||||||
|
|
Loading…
Reference in New Issue