File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 42
42
:keywordize true }
43
43
:cookies true
44
44
:session {:flash true
45
- :cookie-attrs {:http-only true , :same-site :strict }}
45
+ :cookie-attrs {:http-only true }}
46
46
:security {:anti-forgery true
47
47
:frame-options :sameorigin
48
48
:content-type-options :nosniff }
Original file line number Diff line number Diff line change 29
29
(is (= (get-in resp [:headers " Content-Type" ]) " application/octet-stream" ))
30
30
(let [set-cookie (first (get-in resp [:headers " Set-Cookie" ]))]
31
31
(is (.startsWith set-cookie " ring-session=" ))
32
- (is (.contains set-cookie " HttpOnly" ))
33
- (is (.contains set-cookie " SameSite=Strict" )))))
32
+ (is (.contains set-cookie " HttpOnly" )))))
34
33
35
34
(testing " default charset"
36
35
(let [handler (-> (constantly (-> (response " foo" ) (content-type " text/plain" )))
You can’t perform that action at this time.
0 commit comments