We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37482da commit 97b6382Copy full SHA for 97b6382
1 file changed
src/Merly.jl
@@ -97,16 +97,16 @@ function handler(request::HTTP.Messages.Request)
97
98
HTTP.setheader(response,"Content-Type" => "text/plain" )
99
100
- #try
+ try
101
response.status= 200
102
response.body = getindex(routes, searchroute)(q,request,response)
103
- #=catch
+ catch
104
try
105
response.body = processroute_pattern(searchroute,request,response)
106
catch
107
response.body = getindex(routes, "notfound")(q,request,response)
108
end
109
- end=#
+ end
110
111
for (key, value) in q.headers
112
HTTP.setheader(response,key => value )
0 commit comments