Age | Commit message (Collapse) | Author |
|
This helps avoid import cycles.
|
|
|
|
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
|
|
- 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.
|
|
|
|
|