Add hostname verification explanation to relevant libraries
This commit is contained in:
parent
116939db39
commit
e5c533cf2f
@ -10,6 +10,8 @@ include::../../common/fix/code-rationale.adoc[]
|
||||
|
||||
include::../../common/fix/code-rationale-setting.adoc[]
|
||||
|
||||
As part of its certification validation, aiohttp also verifies the server hostname with the certificate chain.
|
||||
|
||||
==== Noncompliant code example
|
||||
|
||||
[source,python,diff-id=41,diff-type=noncompliant]
|
||||
|
@ -10,6 +10,8 @@ include::../../common/fix/code-rationale.adoc[]
|
||||
|
||||
include::../../common/fix/code-rationale-setting.adoc[]
|
||||
|
||||
As part of its certification validation, HTTPX also verifies the server hostname with the certificate chain.
|
||||
|
||||
==== Noncompliant code example
|
||||
|
||||
[source,python,diff-id=31,diff-type=noncompliant]
|
||||
|
@ -10,6 +10,8 @@ include::../../common/fix/code-rationale.adoc[]
|
||||
|
||||
include::../../common/fix/code-rationale-setting.adoc[]
|
||||
|
||||
As part of its certification validation, Requests also verifies the server hostname with the certificate chain.
|
||||
|
||||
==== Noncompliant code example
|
||||
|
||||
[source,python,diff-id=11,diff-type=noncompliant]
|
||||
|
Loading…
x
Reference in New Issue
Block a user