Rename security advertise header in doc

This commit is contained in:
Pando85 2020-05-09 08:14:15 +02:00
parent 6ebfbf0001
commit 9dfefb0648
No known key found for this signature in database
GPG Key ID: C6CB8A1793CA3F94
1 changed files with 2 additions and 2 deletions

View File

@ -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