summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphcacheserver/api_2_0.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/morphcacheserver/api_2_0.py b/morphcacheserver/api_2_0.py
index 94e9341..4e94a94 100644
--- a/morphcacheserver/api_2_0.py
+++ b/morphcacheserver/api_2_0.py
@@ -13,9 +13,6 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
-from bottle import Bottle, request, response
-
-
'''The 2.0/ set of HTTP methods.
This is still in development and you can pretty much do what you want with it
@@ -26,6 +23,11 @@ doing ongoing measurement.
'''
+from bottle import Bottle, request, response
+
+import urllib
+
+
def unescape_parameter(param):
return urllib.unquote(param)