summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-09-27 03:07:15 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-09-27 03:07:15 +0200
commit4765d8ef26f363a36cb81fb2a749189a168a3769 (patch)
treeb5d7231c721d425fb6750f2a822ce01327927d8e
parent5617c91957851165722a23f4d57ac6b7a3170ce0 (diff)
downloadsites-4765d8ef26f363a36cb81fb2a749189a168a3769.tar.gz
sites-4765d8ef26f363a36cb81fb2a749189a168a3769.tar.bz2
sites-4765d8ef26f363a36cb81fb2a749189a168a3769.zip
remove POST bindings, pages should only access via GET
-rwxr-xr-xindex.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/index.py b/index.py
index bd0a491..367b5a5 100755
--- a/index.py
+++ b/index.py
@@ -24,16 +24,10 @@ create_form = form.Form(
class index:
def GET(self):
- return self.POST();
-
- def POST(self):
return render.index()
class spam:
def GET(self):
- return self.POST();
-
- def POST(self):
return render.spam()
class new: