From f59c58005a13d718ea1e6bbfc242076d8c1bec07 Mon Sep 17 00:00:00 2001
From: a <a@tuxpa.in>
Date: Thu, 28 Mar 2024 13:36:45 -0500
Subject: [PATCH] a

---
 contrib/codecs/http/codecs.go | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/contrib/codecs/http/codecs.go b/contrib/codecs/http/codecs.go
index 6b870bf..97d6fb3 100644
--- a/contrib/codecs/http/codecs.go
+++ b/contrib/codecs/http/codecs.go
@@ -60,9 +60,6 @@ func NewGetCodec(w http.ResponseWriter, r *http.Request) *HttpCodec {
 	}
 
 	method_up := r.URL.Query().Get("method")
-	if method_up == "" {
-		method_up = strings.TrimPrefix(r.URL.Path, "/")
-	}
 	params, _ := url.QueryUnescape(r.URL.Query().Get("params"))
 	var param []byte
 	// try to read params as base64
-- 
GitLab