newFromResponse

Parses @msg's first "Strict-Transport-Security" response header and returns a #SoupHSTSPolicy.

Return

a new #SoupHSTSPolicy, or null if no valid "Strict-Transport-Security" response header was found.

Parameters

msg

a #SoupMessage