Closed jayvdb closed 6 years ago
Changes should reflect on the website now. Also, there is improvement in the front end UI and basic regex in the input filed on webpage.
@jayvdb which one is more fault tolerant in your opinion?
len(res.history) > 0
or bytes(username, encoding='utf-8') in res.content
I think bytes(username, encoding='utf-8') in res.content
is the more stable & re-usable algorithm.
Unfortunately, HTTP code is 200 for both url having taken/available usernames.
I'm implementing a hacky solution for the time being and should fix the issue for now. https://github.com/manu-chroma/username-availability-checker/commit/d7be1dda5ba1faf074aeb629f07827338dc06ec3