mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Remove HTTP prefix, this is a Rack impl convention, not a standard.
This commit is contained in:
parent
8f5736a057
commit
22d6c1773e
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ describe "Kemal::Middleware::CSRF" do
|
|||
body: "hasan=lamec",
|
||||
headers: HTTP::Headers{"Content-Type" => "application/x-www-form-urlencoded",
|
||||
"Set-Cookie" => client_response.headers["Set-Cookie"],
|
||||
"http-x-csrf-token" => current_token })
|
||||
"x-csrf-token" => current_token })
|
||||
io, context = process_request(handler, request)
|
||||
client_response = HTTP::Client::Response.from_io(io, decompress: false)
|
||||
client_response.status_code.should eq 404
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue