A server (and importable types for the response) that returns metadata that the client sends. https://pkg.go.dev/r00t2.io/clientinfo
Go to file
brent saner 6b75e17f48
BUGFIX: Content-Type, Nil Raw Body Edge Case, Links
FIXES:
* There was an edge case where a raw body for HTML would potentially
  result in a nil byte slice exception. This has been fixed.
  (I don't even know if it was possible, I just made sure it wasn't.)
* The links browser is now explicitly returned as HTML and properly
  detected as a "browser".
* Hyperlinks for links, w3m added to Usage page.
* Content-Type is now always set correctly; there were cases where it
  was improperly returning e.g. text/plain for JSON.
2024-12-19 02:27:53 -05:00
_extras update _extras; fix typo (htttp => http), and add rest of options in clientinfo.env 2024-12-12 04:23:20 -05:00
args initial commit before refactor switch 2024-12-12 02:22:54 -05:00
cmd/clientinfo initial commit before refactor switch 2024-12-12 02:22:54 -05:00
server BUGFIX: Content-Type, Nil Raw Body Edge Case, Links 2024-12-19 02:27:53 -05:00
version initial commit before refactor switch 2024-12-12 02:22:54 -05:00
.gitignore initial commit before refactor switch 2024-12-12 02:22:54 -05:00
build.sh initial commit before refactor switch 2024-12-12 02:22:54 -05:00
go.mod initial commit before refactor switch 2024-12-12 02:22:54 -05:00
go.sum initial commit before refactor switch 2024-12-12 02:22:54 -05:00
LICENSE initial commit before refactor switch 2024-12-12 02:22:54 -05:00
README.adoc BUGFIX: Content-Type, Nil Raw Body Edge Case, Links 2024-12-19 02:27:53 -05:00
TODO BUGFIX: Content-Type, Nil Raw Body Edge Case, Links 2024-12-19 02:27:53 -05:00

ClientInfo

Table of Contents

1. DOCS

TODO!