Did I find the right examples for you? yes no

All Samples(80)  |  Call(40)  |  Derive(0)  |  Import(40)
Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header

        def is_hop_by_hop(header_name):
    """Return true if 'header_name' is an HTTP/1.1 "Hop-by-Hop" header"""
    return _hoppish(header_name.lower())
        


src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/wsgiref/handlers.py   main(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/wsgiref/handlers.py   main(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/p/y/pydroid-HEAD/src/pydroid/framework/project_skeleton/libs/python27/lib/python2.7/wsgiref/handlers.py   pydroid(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/wsgiref/handlers.py   TrustRouter(Download)
"""Base classes for server/gateway implementations"""
 
from .util import FileWrapper, guess_scheme, is_hop_by_hop
from .headers import Headers
 
                name = self._convert_string_type(name, "Header name")
                val = self._convert_string_type(val, "Header value")
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
 
        return self.write

src/p/o/pombo-HEAD/windows/python/Lib/wsgiref/handlers.py   pombo(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/e/m/empythoned-HEAD/cpython/Lib/wsgiref/handlers.py   empythoned(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/g/i/gitstack-HEAD/python/Lib/wsgiref/handlers.py   gitstack(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/p/y/pytaint-HEAD/Python-2.7.5-pytaint/Lib/wsgiref/handlers.py   pytaint(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/p/y/PyAutoC-HEAD/Python27/Lib/wsgiref/handlers.py   PyAutoC(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

src/p/y/Py2crazy-HEAD/Python-2.7.5/Lib/wsgiref/handlers.py   Py2crazy(Download)
"""Base classes for server/gateway implementations"""
 
from types import StringType
from util import FileWrapper, guess_scheme, is_hop_by_hop
from headers import Headers
                assert type(name) is StringType,"Header names must be strings"
                assert type(val) is StringType,"Header values must be strings"
                assert not is_hop_by_hop(name),"Hop-by-hop headers not allowed"
        self.status = status
        self.headers = self.headers_class(headers)

  1 | 2 | 3 | 4  Next