mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Remove etag logic as it's not implemented in Crystal 0.25.1 (#470)
This commit is contained in:
parent
b8ec6ee328
commit
1e18389f5f
2 changed files with 8 additions and 11 deletions
|
@ -30,6 +30,7 @@ describe Kemal::StaticFileHandler do
|
|||
|
||||
headers = HTTP::Headers{"If-None-Match" => etag}
|
||||
response = handle HTTP::Request.new("GET", "/dir/test.txt", headers)
|
||||
response.headers["Content-Type"]?.should be_nil
|
||||
response.status_code.should eq(304)
|
||||
response.body.should eq ""
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue