git.s-ol.nu mmm / 50ac388
fix PUT :<type> s-ol 1 year, 11 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
169169 path_facet or= path
170170 path, facet = path_facet\match '(.*)/([^/]*)'
171171
172 facet = if facet == '' and method ~= 'GET' and method ~= 'HEAD'
172 facet = if facet == '' and type == '' and method ~= 'GET' and method ~= 'HEAD'
173173 nil
174174 else
175175 type or= 'text/html+interactive'