This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Self-contained language aware path routing example for Pyramid.""" | |
from urllib.parse import urlunparse | |
from urllib.parse import urlparse | |
from wsgiref.simple_server import make_server | |
from pyramid.config import Configurator | |
from pyramid.httpexceptions import HTTPFound | |
from pyramid.request import Request | |
from pyramid.response import Response |