A type that will accept any http or https URL. * TLD not required * Host not required
| 560 | |
| 561 | |
| 562 | class AnyHttpUrl(AnyUrl): |
| 563 | """A type that will accept any http or https URL. |
| 564 | |
| 565 | * TLD not required |
| 566 | * Host not required |
| 567 | """ |
| 568 | |
| 569 | _constraints = UrlConstraints(allowed_schemes=['http', 'https']) |
| 570 | |
| 571 | |
| 572 | class HttpUrl(AnyUrl): |