Skip to content

Commit 6804220

Browse files
committed
lint (re-indent RequestHandlerFunction callback, again)
1 parent 4600fff commit 6804220

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HttpHelpers/handlers.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ function state_handler(base_handler, state)
2424
function(request::HTTP.Request, args...)
2525
response = handle(base_handler, request, state, args...)
2626
if response.status == 200
27-
HTTP.defaultheader!(response, "Content-Type" => HTTP.sniff(response.body))
28-
HTTP.defaultheader!(response, "Content-Length" => string(sizeof(response.body)))
27+
HTTP.defaultheader!(response, "Content-Type" => HTTP.sniff(response.body))
28+
HTTP.defaultheader!(response, "Content-Length" => string(sizeof(response.body)))
2929
end
3030
return response
3131
end

0 commit comments

Comments
 (0)