Commit Graph

24 Commits

Author SHA1 Message Date
Ian Henderson
724979970b
expose the response connection as an io.ReadCloser (like net/http does) (#15) 2020-10-23 07:32:56 +10:00
Rob Rohan
3e11dcff04
Fix tests (#12)
* This fixes the tests for me locally

* Fixing spelling

* Adding examples back

* I think race is killing the server before all the tests run

* Check if server is running
2020-07-21 12:07:12 +10:00
James Mills
01f751805e
Fixed a bunch of bugs found with go-fuzz 2018-04-15 19:48:30 -07:00
James Mills
97f53e068d
Fixed JSON handling/output for the client library 2017-06-23 00:08:43 -07:00
James Mills
34cb21f4c0
Support raw query strings in the URI 2017-06-13 01:27:01 -07:00
James Mills
435112fefe
Fix for servers/gophermap with bad line endings
e.g: gopher://pollett.org/
2017-06-12 23:56:28 -07:00
James Mills
3cea3ab217
Fixed host selectors by provising a -host option and passing this through to server and handlers 2017-06-09 01:53:08 -07:00
James Mills
48590e76b1
Add TLS support 2017-02-13 00:18:27 -08:00
James Mills
48e230ab23
Fix import for context 2017-02-12 21:09:10 -08:00
James Mills
258627c692
Revert "Fix compatibility with GO 1.6 for context package"
This reverts commit 5fdce9bb55.
2016-10-02 18:44:14 -07:00
James Mills
5fdce9bb55
Fix compatibility with GO 1.6 for context package 2016-10-02 18:10:14 -07:00
James Mills
bdec5b79f4
Add the non-standard d (Document) type 2016-09-25 22:35:20 +10:00
James Mills
a4d1dd195b
Improved tolerance of client parsing 2016-09-25 22:32:35 +10:00
James Mills
c0653acd64
Remove more debug logging 2016-09-23 21:35:05 +10:00
James Mills
b02b629fe9
Improve support for bad servers and hand-written/broken Gopher menus 2016-09-23 21:34:53 +10:00
James Mills
e01d34d7a2
Remove debug logging 2016-09-22 23:52:01 +10:00
James Mills
4f2a87b748
Handle directory with CRLF.CRLF terminators 2016-09-22 23:51:34 +10:00
James Mills
65cbf62f8a
Improve directory handling 2016-09-22 23:50:44 +10:00
James Mills
44c294287d
Shorten friendly type names 2016-09-22 23:49:23 +10:00
James Mills
b206825c57
Added non-standard p/PNG type 2016-09-22 23:48:35 +10:00
James Mills
a4095fac05
Fix use of ResponseWriter.WriteInfo and ResponseWriter.WriteError 2016-09-14 16:25:14 +10:00
James Mills
94b6b874e4
Remove some useless debug logging 2016-09-14 16:24:36 +10:00
James Mills
58ccb9172e
Add top-level package documentation 2016-09-14 14:43:54 +10:00
James Mills
a4cfebfbdf
Initial Commit 2016-09-14 13:45:49 +10:00