summaryrefslogtreecommitdiff
path: root/spartan
AgeCommit message (Collapse)Author
2023-10-30allow for bare LF line endings in spartanv1.5.0tjpcc
2023-10-30set request body in spartan.ParseRequesttjpcc
2023-10-09logging.Base()tjpcc
Allow users to get access to the base logger *before* it is wrapped with the various levels. This provides a single override point to filter or redirect all logging.
2023-08-12multi-protocol clienttjpcc
Fixes #4
2023-08-12move common types to an internal packagetjpcc
This helps avoid import cycles.
2023-08-12document maxredirects on clientstjpcc
2023-08-12add Fetch method to clients which follows redirectstjpcc
There are currently only gopher, gemini, and spartan clients. The finger client will have to implement this when it is written. The Fetch method takes the url as a string for convenience, and parses it into a URL for RoundTrip. Fixes #3
2023-05-03add JoinDefaultPort for servers' configurationtjpcc
2023-05-01make spartan.Client.RoundTrip match the API of other clients.tjpcc
- Request.Meta is already used as an *io.LimitedReader in spartan servers, so by following this convention the RoundTrip method doesn't need anything more than the *Request. - Make a new public method for setting the body on a spartan request.
2023-05-01name change gus -> slideruletjpcc
2023-04-29initial spartan client supporttjpcc
2023-04-29tests and bugfixes to spartan request parsingtjpcc
2023-04-29initial spartan server supporttjpcc