Gopher client and server library for Python
This release contains breaking API changes- take caution when updating.
Selector class has been renamed to Item
Globbing is fixed on Windows
Single Items can now be sent by custom/alt handlers like strings and lists of Items can
URL parsing has been rewritten to adhere to RFC 4266 (including %09
for search queries)
URLs returned by Request().url()
do not include :70
if the port is 70 (as this is the default port for all Gopher sites); they also do not add "/" to the beginning of selector strings (for Gopher servers that don't necessarily use this filesystem scheme)
error.host is no longer used by default in the path/selector field of new Items (as it could be misinterpreted when looking at menu source code client-side); the field is now blank by default
Plenty of refactoring, tidying and other good things
TreeGopher demo added and readme updates
Default handler
Client
This is actually just 0.98 but with a fixed setup.py.
Server:
Default handler:
?
pseudotype and globbingServer:
Server:
Default handler:
Client:
Default handler:
Default handler: