~shunter/gemini-request

Remove github mirror buildscript
28b3805b — Samuel Hunter 2 years ago
README.md: update project destiny
c4bee677 — Samuel Hunter 3 years ago v0.1.1
Promote version to v0.1.1

Changelog:

- Rename cl-gemini to gemini-request
- Revamped API to recognize, parse, and return mimetypes, parameters
- Autodetect the response charset and decode appropriately
- Remove raising a gmi-error on non-OK status codes
- Offer an alternative function that returns an output stream
  instead of a string.
- Provide more SSL options by passing it directly to CL+SSL
39b74053 — Samuel Hunter 3 years ago
Return a default mimetype if none provided

The gemini pseudo-spec says the mimetype should be assumed text/gemini
if none is provided. I should probably make this easier for the user.
85e3c4f8 — Samuel Hunter 3 years ago
Update README to reflect API changes
aaac02b3 — Samuel Hunter 3 years ago
Change the last return value back to a puri:uri.

Returning the URI as a string can be a bit wasteful whenever the
client wants to keep the structured URI internally.
aa185789 — Samuel Hunter 3 years ago
Downcase strings from the parm alist

Parameters in gemini are case-insensitive. Best way to handle that is
to make them all the same case.
6e8309a8 — Samuel Hunter 3 years ago
Re-add resolved URI as the last return value.

While rewriting the gemini-request-* functions, I forgot to add this
value back.
dbf03a41 — Samuel Hunter 3 years ago
Add gmi-success-p

Just a wrapper function for deciding whether a response code is
successful, since the special case appears often enough internally.
960d8d3e — Samuel Hunter 3 years ago
Revamp API to use encodings and return a stream

The API is now reworked to detect and return a successful response's
mimetype and response parameters, and the charset is detected to
return an appropriate flexi-stream.

Gemini-request's errors are also reworked to only return an error in
likely cases where the server is misbehaving -- mainly, inappropriate
response headers, too many redirects, and bad encoding.

Further, the API now has three main functions instead of two --
the primitive, gemini-request-stream*, and then the more higher-level
gemini-request-stream and gemini-request. The first two always returns
a stream as the primary value while the second function returns the
response body as a string or octet simple-vector.
4377a94a — Samuel Hunter 3 years ago
Proofread and clarify README.
a36e859d — Samuel Hunter 3 years ago
Rename cl-gemini to gemini-request
58e6e0a6 — Samuel Hunter 3 years ago
Add puri:uri example in README
df8669cd — Samuel Hunter 3 years ago
Tweak README a bit; fix typo bug
8eef3dbc — Samuel Hunter 3 years ago
Bugfix malformed format call in README
0d4a1d3a — Samuel Hunter 3 years ago v0.1.0
Promote version to 0.1.0
3205cb93 — Samuel Hunter 3 years ago
Add build to update a mirror on github
605216d4 — Samuel Hunter 3 years ago
Add LICENSE
b30b9ced — Samuel Hunter 3 years ago
Un-stubbify the README
22ffd686 — Samuel Hunter 3 years ago
Remove gmi-response class and return multiple vals
Next