[libsoup/hsts: 22/36] Actually check that an insecure STS header is ignored



commit f7305daef9833e3aa0a93c61a8f53671bfb43698
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Aug 30 16:04:55 2018 +0300

    Actually check that an insecure STS header is ignored

 tests/hsts-test.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/hsts-test.c b/tests/hsts-test.c
index 54981fae..e3ce7d80 100644
--- a/tests/hsts-test.c
+++ b/tests/hsts-test.c
@@ -301,6 +301,7 @@ do_hsts_insecure_sts_test (void)
 {
        SoupSession *session = hsts_session_new (NULL);
        session_get_uri (session, "http://localhost/insecure";, SOUP_STATUS_OK);
+       session_get_uri (session, "http://localhost";, SOUP_STATUS_MOVED_PERMANENTLY);
        soup_test_session_abort_unref (session);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]