1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-20 03:11:34 +02:00
Commit Graph

14 Commits

Author SHA1 Message Date
adnano
106d0b1c1d Update comments 2021-01-10 01:07:38 -05:00
adnano
cd988d85ae Simplify ResponseWriter implementation 2021-01-10 00:50:35 -05:00
adnano
10c87efbc1 client: Close connection for unsuccessful responses 2020-12-22 19:22:01 -05:00
adnano
cc962586d4 Add ReadRequest and ReadResponse functions 2020-12-18 01:42:05 -05:00
adnano
b9a9b65d0b Expose Request.Write and Response.Read functions 2020-12-18 01:14:06 -05:00
adnano
2efc7a601b Remove Response.Request field 2020-12-18 00:19:53 -05:00
adnano
676fc4994c Don't guarantee that (*Response).Body is always non-nil 2020-11-08 18:38:08 -05:00
adnano
fc24256683 Guarantee that (*Response).Body is non-nil 2020-10-31 23:04:47 -04:00
adnano
06b2ffca4a Set default mimetype if META is empty 2020-10-31 20:32:38 -04:00
adnano
b25fdec389 Store a reference to the Request in Response 2020-10-28 00:21:27 -04:00
adnano
ab3ac68f6f Make (*Response).Body an io.ReadCloser 2020-10-27 19:16:55 -04:00
adnano
4beed7e90e Add (*ResponseWriter).WriteStatus function 2020-10-27 13:30:35 -04:00
adnano
6cccba3800 Rename repository to go-gemini 2020-10-24 15:15:32 -04:00
adnano
dda63807b5 Refactor 2020-10-21 17:07:28 -04:00