diff options
author | Tom Willemse | 2013-08-07 23:24:55 +0200 |
---|---|---|
committer | Tom Willemse | 2013-08-07 23:24:55 +0200 |
commit | 18cf043be3175a0098dad1e24266c10b7f21922c (patch) | |
tree | 89c6d4ad50680f8ea768f1036bbf6ca112c911df | |
parent | c5699ecfa713d040849e2564b7196a77583adb8a (diff) | |
download | hypo-18cf043be3175a0098dad1e24266c10b7f21922c.tar.gz hypo-18cf043be3175a0098dad1e24266c10b7f21922c.zip |
Don't set web.ctx.status
Apparently flup doesn't like it when I do this.
-rwxr-xr-x | hypo.hy | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -54,7 +54,6 @@ res)) (defun no-such-file [] - (setv web.ctx.status "404 Not Found") "No such file.\n") (defun get-file [name] @@ -126,7 +125,6 @@ "hash" (get h 1) "filename" name "type" (get-type (get (os.path.splitext name) 1))}) - (setv web.ctx.status "201 Created") (+ web.ctx.home "/" *prefix* (get h 0) "\n")))]]) (when (= __name__ "__main__") |