Remove github mirror buildscript
README.md: update project destiny
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
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.
Update README to reflect API changes
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.
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.
Re-add resolved URI as the last return value.
While rewriting the gemini-request-* functions, I forgot to add this
value back.
Add gmi-success-p
Just a wrapper function for deciding whether a response code is
successful, since the special case appears often enough internally.
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.
Proofread and clarify README.
Rename cl-gemini to gemini-request
Add puri:uri example in README
Tweak README a bit; fix typo bug
Bugfix malformed format call in README
Add build to update a mirror on github
Remove gmi-response class and return multiple vals