Closed malloxpb closed 4 months ago
We will also need to restore the tests from w3lib and try to make Scurl conform to all the original tests in there!
The first issue that we need to work on:
>>> import scurl
>>> scurl.urljoin('http://google.com/', '/g')
'http://google.com/g'
>>> scurl.urljoin('http://google.com/', '//g')
'http://g/' (it should be http://g)
This PR restores all the tests from urllib, since the current tests in Scurl are modified to pass the tests. However, we need Scurl to act similar to urllib 😄