
(Some other minor things here and there.) original commit: debd1f9f1e6899e2a7e4ab5de929a49df490b5c7
24 lines
414 B
Racket
24 lines
414 B
Racket
#lang racket/signature
|
|
|
|
;; -- exceptions raised --
|
|
(struct cgi-error ())
|
|
(struct incomplete-%-suffix (chars))
|
|
(struct invalid-%-suffix (char))
|
|
|
|
;; -- cgi methods --
|
|
get-bindings
|
|
get-bindings/post
|
|
get-bindings/get
|
|
output-http-headers
|
|
generate-html-output
|
|
generate-error-output
|
|
bindings-as-html
|
|
extract-bindings
|
|
extract-binding/single
|
|
get-cgi-method
|
|
|
|
;; -- general HTML utilities --
|
|
string->html
|
|
generate-link-text
|
|
|