1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2025-08-23 20:34:40 +02:00
Commit Graph

16 Commits

Author SHA1 Message Date
adnano
6414f5ec4b Revert "Replace uses of ioutil with io"
This reverts commit 97396183ebb327a7afcaa68429b6db1fba8de332.
2021-03-23 22:02:32 -04:00
adnano
f227ae7a98 Tweak request and response parsing 2021-03-20 12:27:20 -04:00
adnano
97396183eb Replace uses of ioutil with io 2021-02-28 21:38:36 -05:00
adnano
901fa4a6e9 response: Add tests for maximum-length META 2021-02-27 14:08:31 -05:00
adnano
2f9e105c7f response: Revert to using fields instead of methods 2021-02-24 18:50:40 -05:00
adnano
71cde76a88 Revert "Replace uses of ioutil with io"
This reverts commit 1b8ca4fa68fdc866fcf7a7676bdf9e008ea44241.
2021-02-24 14:45:57 -05:00
adnano
1b8ca4fa68 Replace uses of ioutil with io 2021-02-24 11:11:10 -05:00
adnano
574a8e790b response: Move to methods 2021-02-24 08:43:57 -05:00
Kaleb Elwert
e4a501c59f Only use fs.go when fs.FS is available 2021-02-24 07:41:53 -05:00
adnano
9f8dd94b9b Unexport NewResponseWriter 2021-02-23 22:02:47 -05:00
adnano
4ca64010a1 Move I/O utilities to io.go 2021-02-23 20:49:55 -05:00
adnano
cd5811a4e4 Make Response an io.ReadCloser 2021-02-23 17:50:47 -05:00
adnano
4878e04791 Make Status a type
Using a type is better than using an integer.
2021-02-20 16:16:32 -05:00
adnano
753468de85 response: Implement Write method 2021-02-18 00:07:43 -05:00
adnano
757bc9fd71 Replace uses of ioutil with io 2021-02-16 18:57:24 -05:00
adnano
d654cd7025 Add some tests 2021-02-15 19:20:37 -05:00