diff options
author | ianb <devnull@localhost> | 2005-12-14 21:19:08 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2005-12-14 21:19:08 +0000 |
commit | dc9ad0dd63329974cc674baf5c423c5dd9d070f3 (patch) | |
tree | 4e83f78cbbe8868bc81fbd913393aae3d7b14e7a /paste/url.py | |
parent | e39e2788deb74a726b6cf4de0171535e60ff57b4 (diff) | |
download | paste-dc9ad0dd63329974cc674baf5c423c5dd9d070f3.tar.gz |
Move things to using request module instead of wsgilib
Diffstat (limited to 'paste/url.py')
-rw-r--r-- | paste/url.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/paste/url.py b/paste/url.py index a0cc727..eecbba9 100644 --- a/paste/url.py +++ b/paste/url.py @@ -6,7 +6,7 @@ This module implements a class for handling URLs. """ import urllib import cgi -from paste import wsgilib +from paste import request # Imported lazily from FormEncode: variabledecode = None @@ -75,13 +75,13 @@ class URLResource(object): def from_environ(cls, environ, with_query_string=True, with_path_info=True, script_name=None, path_info=None, querystring=None): - url = wsgilib.construct_url( + url = request.construct_url( environ, with_query_string=False, with_path_info=with_path_info, script_name=script_name, path_info=path_info) if with_query_string: if querystring is None: - vars = wsgilib.parse_querystring(environ) + vars = request.parse_querystring(environ) else: vars = cgi.parse_qsl( querystring, |