Broken project to implement a cross-protocol browser in textual
1
2
3
4
5
6
7
8
9
10
class AboutProtocol():
  def get(url):
    page = url.split(':')[1]
    if page == 'about':
      return ('text/gemini', [
        '=>about:about\n',
        '=>about:blank\n',
      ])
    elif page == 'blank':
      return ('text/plain',[])