mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Fix ssl and specs for 0.18
This commit is contained in:
parent
74044d62e9
commit
ac4a5afc05
8 changed files with 35 additions and 35 deletions
|
@ -6,7 +6,7 @@ describe "Kemal::Middleware::HTTPBasicAuth" do
|
|||
request = HTTP::Request.new(
|
||||
"GET",
|
||||
"/",
|
||||
headers: HTTP::Headers{"Authorization": "Basic c2VyZGFyOjEyMw=="},
|
||||
headers: HTTP::Headers{"Authorization" => "Basic c2VyZGFyOjEyMw=="},
|
||||
)
|
||||
|
||||
io_with_context = create_request_and_return_io(auth_handler, request)
|
||||
|
@ -19,7 +19,7 @@ describe "Kemal::Middleware::HTTPBasicAuth" do
|
|||
request = HTTP::Request.new(
|
||||
"GET",
|
||||
"/",
|
||||
headers: HTTP::Headers{"Authorization": "NotBasic"},
|
||||
headers: HTTP::Headers{"Authorization" => "NotBasic"},
|
||||
)
|
||||
io_with_context = create_request_and_return_io(auth_handler, request)
|
||||
client_response = HTTP::Client::Response.from_io(io_with_context, decompress: false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue