Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/m/a/MapProxy-1.6.0/mapproxy/test/unit/test_referrer.py   MapProxy(Download)
 
from mapproxy.response import Response
from mapproxy.security.referrer import ReferrerFilter, NONE, SELF, REGEX
 
 
    def test_regex(self):
        referrer_filter = [REGEX('http://([ab]\.)?osm/')]
 
        for referrer, allowed in (
            (None, False),

src/m/a/mapproxy-HEAD/mapproxy/test/unit/test_referrer.py   mapproxy(Download)
 
from mapproxy.response import Response
from mapproxy.security.referrer import ReferrerFilter, NONE, SELF, REGEX
 
 
    def test_regex(self):
        referrer_filter = [REGEX('http://([ab]\.)?osm/')]
 
        for referrer, allowed in (
            (None, False),