Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-08-25 | add multi-client to READMEv1.1.0 | tjpcc | |
2023-08-25 | support tls client configs in HTTP client | tjpcc | |
2023-08-12 | quick and dirty http[s] client in the multi-client | tjpcc | |
2023-08-12 | Revert "text fixes" | tjpcc | |
This reverts commit 7efdcf9277c4a7be88179cb93d309d2f1e684fe6. except the error text fix, keep that. | |||
2023-08-12 | multi-protocol client | tjpcc | |
Fixes #4 | |||
2023-08-12 | move common types to an internal package | tjpcc | |
This helps avoid import cycles. | |||
2023-08-12 | finger protocol client | tjpcc | |
2023-08-12 | panic protection | tjpcc | |
avoid assuming finger request lines come with CRLF | |||
2023-08-12 | text fixes | tjpcc | |
* trying again with drone-ci and OmitHost * typo in the InvalidFingerQuery error message | |||
2023-08-12 | document maxredirects on clients | tjpcc | |
2023-08-12 | avoid copying a tls.Config | tjpcc | |
Fixes #5 | |||
2023-08-12 | add Fetch method to clients which follows redirects | tjpcc | |
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-22 | fix panic on bad finger requests | tjpcc | |
2023-05-09 | fix gopher request parsing for clients which don't send CRLF | tjpcc | |
2023-05-09 | correct direction of the binary search for dir default files | tjpcc | |
2023-05-09 | correctly use path.Ext() results | tjpcc | |
2023-05-09 | InsecureSkipVerify and other improvements for the gemini fetch example code | tjpcc | |
2023-05-09 | recognize gophermap files as menu types in dir listings | tjpcc | |
2023-05-06 | don't start in-FS paths with ./ | tjpcc | |
this was tricky, it didn't fail until I got it on a FreeBSD host | |||
2023-05-05 | README improvements | tjpcc | |
2023-05-03 | now we should allow empty address | tjpcc | |
2023-05-03 | use sha256 for client cert fingerprints, and log them when available | tjpcc | |
2023-05-03 | include spartan in the protocols list in README | tjpcc | |
2023-05-03 | TitanUpload middleware in contrib/fs | tjpcc | |
2023-05-03 | hide private files from the FS | tjpcc | |
- ResolveFile acts like ErrNotFound - ResolveDirectory acts like ErrNotFound - RenderDirectoryListing strips out dot-prefixed entries | |||
2023-05-03 | linter fixes | tjpcc | |
2023-05-03 | add JoinDefaultPort for servers' configuration | tjpcc | |
2023-05-02 | send request bodies into CGI handlers | tjpcc | |
2023-05-02 | fix tests and examples to match the router.Handler() change | tjpcc | |
2023-05-02 | simple handler dispatcher for hostname-based virtual hosting | tjpcc | |
2023-05-01 | fix the router.Handler signature | tjpcc | |
2023-05-01 | name change in the CGI SERVER_SOFTWARE env var | tjpcc | |
2023-05-01 | docstring fix | tjpcc | |
2023-05-01 | exercise router code in an example | tjpcc | |
2023-05-01 | still log requests for which we failed to find a handler | tjpcc | |
2023-05-01 | fixes to /*remainder route segments | tjpcc | |
2023-05-01 | include the time spent in the handler for the 'dur' log keyv1.0.0 | tjpcc | |
2023-05-01 | make 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-01 | more README updates | tjpcc | |
- lowercase the name everywhere - include a link back to gus | |||
2023-05-01 | explain the name | tjpcc | |
2023-05-01 | sliderule ascii art | tjpcc | |
2023-05-01 | name change gus -> sliderule | tjpcc | |
2023-04-30 | spartan handler for a CGI directory | tjpcc | |
2023-04-29 | spartan FS server | tjpcc | |
2023-04-29 | spartan =: prompt line support in gemtext | tjpcc | |
2023-04-29 | initial spartan client support | tjpcc | |
2023-04-29 | tests and bugfixes to spartan request parsing | tjpcc | |
2023-04-29 | initial spartan server support | tjpcc | |
2023-04-29 | include a CSS class in htmlconv output | tjpcc | |
2023-02-15 | Switch Handler to an interface. | tjpcc | |
HandlerFunc is much better as a function returning a Handler, rather than a newtype for the function type itself. This way there is no confusion creating a type-inferenced variable with HandlerFunc(func(... and then using a HandlerFunc where a Handler is expected. Much better to only have one public type. |