[][src]Module clean_url::utils

Utility functions

Functions

add_www

Adds www to a URL

check_status

This function checks the status code of a URL and returns the version of the URL that is a 200 series.

has_www

Checks if a URL uses www

parse_url

This function parses an incomplete URL and returns the full URL.

remove_www

Removes www from a URL

swap_www

Removes www if a URL has it, and adds www if a URL does not