lucien2k / wipy-urllib

31 stars 16 forks source link

small bug #1

Open knoahlr opened 7 years ago

knoahlr commented 7 years ago

In urequests.py Line 92, "path = '/'+''.join(url.split('/')[1:])" should be changed to " path = '/'+''.join(url.split('/',1)[1:]) ". You only want to split the line at the first occurence of "/" and not the subsequent as well.

Guillaume51 commented 7 years ago

In the source, for 'http' protocol, the actual port for socket is set to 6500 instead of 80 !