about summary refs log tree commit diff stats
path: root/doc/localcgi.md
Commit message (Collapse)AuthorAgeFilesLines
* cgi: return ConnectionError when script is not executablebptato2023-12-211-5/+5
|
* Update doc/localcgibptato2023-12-141-3/+4
| | | | | multipart through local CGI is now supported as well. (also, fix Cha-Control description inaccuracy)
* Move http out of main binarybptato2023-12-131-5/+28
| | | | | | | | | | | | Now it is (technically) no longer mandatory to link to libcurl. Also, Chawan is at last completely protocol and network backend agnostic :) * Implement multipart requests in local CGI * Implement simultaneous download of CGI data * Add REQUEST_HEADERS env var with all headers * cssparser: add a missing check in consumeEscape
* local CGI improvements, move data: to cgi-binbptato2023-12-121-2/+41
| | | | error codes are WIP, not final yet...
* local CGI: add mapped URI env vars; move about: to adaptersbptato2023-12-121-0/+27
| | | | | | | | | | | | | | | * Add MAPPED_URI_* as environment variables when a request is coming from urimethodmap It costs us compatibility with w3m, but it seems to be a massive improvement over smuggling in the URL as a query string and then writing an ad-hoc parser for every single urimethodmap script. The variables are set for every urimethodmap request, to avoid accidental leaking of global environment variables. * Move about: to adapters (an obvious improvement over the previous solution)
* doc/localcgi: reword/clarifybptato2023-12-111-1/+5
|
* Add w3m-cgi-compat optionbptato2023-10-011-2/+17
|
* loader: add local-cgibptato2023-09-301-0/+111
Add w3m-style local CGI support. It is not quite as powerful as w3m's local CGI, because it lacks an equivalent to W3m-control. Not sure if it's worth adding; we certainly shouldn't allow passing JS in headers, but a custom language for headers does not sound like a great idea either... eh, idk. also, TODO add multipart