Add optional type support to web.haste()
Merge pull request #81 from blha303/patch-3

Add optional type support to web.haste()