Closed remeika closed 2 years ago
Can I request for the None
value case, be taken care of here as well?
ATM, trying to .parse(None)
results in TypeError: a bytes-like object is required, not 'str'
. IMO, we should raise a more explicit exception.
Fixes #108 by adding adding a more explicit exception message when a invalid URL is provided. Also, adds documentation tests to make explicit that special characters must be url-encoded.