mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Remove merged params to improve performance
This commit is contained in:
parent
53d12534b7
commit
42deb95688
3 changed files with 3 additions and 7 deletions
|
@ -170,8 +170,8 @@ describe "Kemal::RouteHandler" do
|
|||
request = HTTP::Request.new(
|
||||
"POST",
|
||||
"/",
|
||||
body: json_payload.to_json,
|
||||
headers: HTTP::Headers{"Content-Type": "application/json"}
|
||||
body: "_method=DELETE",
|
||||
headers: HTTP::Headers{"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"}
|
||||
)
|
||||
io_with_context = create_request_and_return_io(kemal, request)
|
||||
client_response = HTTP::Client::Response.from_io(io_with_context, decompress: false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue