Return cached network objects for proxy_allow_ips (internal use).
(self)
| 187 | return self._forwarded_allow_networks |
| 188 | |
| 189 | def proxy_allow_networks(self): |
| 190 | """Return cached network objects for proxy_allow_ips (internal use).""" |
| 191 | if self._proxy_allow_networks is None: |
| 192 | self._proxy_allow_networks = [ |
| 193 | ipaddress.ip_network(addr) |
| 194 | for addr in self.proxy_allow_ips |
| 195 | if addr != "*" |
| 196 | ] |
| 197 | return self._proxy_allow_networks |
| 198 | |
| 199 | @property |
| 200 | def ssl_options(self): |
no outgoing calls
no test coverage detected