HttpUrl
A type that will accept any http or https URL.
Constructor
Signature
def HttpUrl()
Methods
_constraints()
def _constraints() - > [UrlConstraints](urlconstraints.md?sid=pydantic_networks_urlconstraints)
Defines the validation rules for HTTP and HTTPS URLs, including a maximum length of 2083 characters and restricted protocol schemes.
Returns
| Type | Description |
|---|---|
[UrlConstraints](urlconstraints.md?sid=pydantic_networks_urlconstraints) | A configuration object specifying the allowed schemes and length limits for the URL. |