diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2019-11-06 13:52:56 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2019-11-06 13:52:56 +0000 |
| commit | 50ac388d23d4f59013c4499912d1a34bbd86f92d (patch) | |
| tree | 560e2ad56d6e68ec81595121aaa6e28fb2bbe47e | |
| parent | add ba_log entry 2019-11-01 (diff) | |
| download | mmm-50ac388d23d4f59013c4499912d1a34bbd86f92d.tar.gz mmm-50ac388d23d4f59013c4499912d1a34bbd86f92d.zip | |
fix PUT :<type>
| -rw-r--r-- | build/server.moon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/server.moon b/build/server.moon index a2d6c71..b95b396 100644 --- a/build/server.moon +++ b/build/server.moon @@ -170,7 +170,7 @@ class Server path_facet or= path path, facet = path_facet\match '(.*)/([^/]*)' - facet = if facet == '' and method ~= 'GET' and method ~= 'HEAD' + facet = if facet == '' and type == '' and method ~= 'GET' and method ~= 'HEAD' nil else type or= 'text/html+interactive' |
