Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Side by Side Diff: third_party/google-endpoints/future/moves/http/server.py

Issue 2666783008: Add google-endpoints to third_party/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 from __future__ import absolute_import
2 from future.utils import PY3
3
4 if PY3:
5 from http.server import *
6 else:
7 __future_module__ = True
8 from BaseHTTPServer import *
9 from CGIHTTPServer import *
10 from SimpleHTTPServer import *
11 try:
12 from CGIHTTPServer import _url_collapse_path # needed for a test
13 except ImportError:
14 try:
15 # Python 2.7.0 to 2.7.3
16 from CGIHTTPServer import (
17 _url_collapse_path_split as _url_collapse_path)
18 except ImportError:
19 # Doesn't exist on Python 2.6.x. Ignore it.
20 pass
OLDNEW
« no previous file with comments | « third_party/google-endpoints/future/moves/http/cookies.py ('k') | third_party/google-endpoints/future/moves/itertools.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698