summaryrefslogtreecommitdiff
path: root/spartan/serve.go
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-01-24 07:36:28 -0700
committertjpcc <tjp@ctrl-c.club>2023-01-24 07:36:28 -0700
commit23d705b93a89cb0aee582eda819a76257f42dffc (patch)
tree94091c5915a9c1dc9914622838394d32dccf2fed /spartan/serve.go
parent0480e066a3f1ae97dbab8fcb6303589eb0fa724c (diff)
Add support for titan:// to the gemini server
Titan is a gemini add-on protocol so it really didn't make sense to build it out in a separate package. The most significant difference in titan for the purposes of implementation here is that requests can have bodies following the URL line. Since gus.Request is a struct, the only way to smuggle in the new field (a reader for the body) was to stash it in the context.
Diffstat (limited to 'spartan/serve.go')
0 files changed, 0 insertions, 0 deletions