diff --git a/lib/server/request.rb b/lib/server/request.rb
index <HASH>..<HASH> 100644
--- a/lib/server/request.rb
+++ b/lib/server/request.rb
@@ -14,7 +14,7 @@ module Server
     end
 
     def params
-      return {} unless uri
+      query = URI(uri).query || ''
       @params ||= CGI::parse(URI(uri).query)
     end
fix param access when there are no params in uri