[ CCode ( has_construct_function = false ) ]
public HSTSPolicy.from_response (Message msg)
Parses msg
's first "Strict-Transport-Security" response header and returns a
HSTSPolicy.
msg |
a Message |
a new HSTSPolicy, or null if no valid "Strict-Transport-Security" response header was found. |