Fixed Py2 bug

In Py2:
bytes([32]) -> b'[32]'

In Py3:
bytes([32]) -> b' '
Should not be true anymore
Truncating repr output
Fixed wrong slicing

That took too long to spot...
Merge pull request #1 from untitaker/urls-rewrite

Urls rewrite