qt5base-lts/tests/auto/network/access/access.pro
Timur Pocheptsov 83f4f9b401 Add HTTP strict tranport security support to QNAM
HTTP Strict Transport Security (HSTS) is a web security policy that
allows a web server to declare that user agents should only interact
with it using secure HTTPS connections. HSTS is described by RFC6797.

This patch introduces a new API in Network Access Manager to enable
this policy or disable it (default - STS is disabled).

We also implement QHstsCache which caches known HTTS hosts, does
host name lookup and domain name matching; QHstsHeaderParser to
parse HSTS headers with HSTS policies.

A new autotest added to test the caching, host name matching
and headers parsing.

[ChangeLog][QtNetwork] Added HTTP Strict Transport Security to QNAM

Task-number: QTPM-238
Change-Id: Iabb5920344bf204a0d3036284f0d60675c29315c
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2017-01-20 08:41:50 +00:00

26 lines
488 B
Prolog

TEMPLATE=subdirs
SUBDIRS=\
qnetworkdiskcache \
qnetworkcookiejar \
qnetworkaccessmanager \
qnetworkcookie \
qnetworkrequest \
qhttpnetworkconnection \
qnetworkreply \
spdy \
qnetworkcachemetadata \
qftp \
qhttpnetworkreply \
qabstractnetworkcache \
hpack \
http2 \
hsts
!qtConfig(private_tests): SUBDIRS -= \
qhttpnetworkconnection \
qhttpnetworkreply \
qftp \
hpack \
http2 \
hsts