Commits
- Commit:
1337dc2bc98a9a6d161b79058055acf7f2670c07
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor proxy_read
- avoid the ugly `goto copy' to jump back to the start
- avoid leaking memory
- Commit:
6edd9a00dba749f4c342824a9cf42d5c48dd3d52
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parse response MIME, check the charset and lang
If the charset is not UTF-8 nor ASCII then we don't know how to handle
the body and so rejects it. An abset charset is implied to be utf8,
so we're good.
In the generated HTML we always use UTF8 charset, which is fine too,
since it is a superset of ASCII.
Attempt also at saving the lang for later reuse in the generated HTML.
- Commit:
8fa3006a8eeb771690ed7e1e452b6b5cd0e064bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include a footer with the original URL
- Commit:
33f4bf26d1b76c691875b3ced0aa267928a0a2f6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
inline images
- Commit:
6e8f426eff55c3ebcd1977185da46975fac2d1ad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
handle non-20 gemini response
- Commit:
4e2df59f1ce054617cd1ec17582b64f49596684c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop debug printf
- Commit:
df5279ca412c6f286f39312c3a2b40295a609ee8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
filter out empty lines
- Commit:
b9de0a740a8a4a0c10be051e1f948c6eba7d9c4c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
improve gemtext -> html conversion
- Commit:
fc1cb9ea0716bf54463829dfca90b942ad5c8bf9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
link the specified stylesheet (if any)
- Commit:
b691dc5834da50450379bfc33318e109d055de96
- From:
- Omar Polo <op@omarpolo.com>
- Date:
TODO
- Commit:
ee80262d3fcd6cfa7551c0baebdcf792e1bdae95
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix request URL
use the matched proxy_name and append the received PATH_INFO. Still
undecided wether I should sanitize things here or not.
- Commit:
c9dc4bc68ef81f382a23f0ce29b0bada6dacc9c1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
scaffold the gemtext -> html conversion
- Commit:
ea8874f15243d7c4d6a28836a26ce3724aa1e037
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop useless proxy_accept wrapper
just call fcgi_accept (with args tweaked)
- Commit:
b0a6bcf7ac45303633103a7a64ed80fc4cf41181
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial import