Re: [racket] Stateless Web Server: Generating a response on a stuffer error

2012-04-24 Thread Galler
Wow. Thank you very much. On Tue, Apr 24, 2012 at 4:31 PM, Jay McCarthy wrote: There was no way to do this, but I just added the 92nd keyword to serve/servlet to do it: #:servlet-responder (λ (url exn) (response/xexpr `(html (bo

Re: [racket] Stateless Web Server: Generating a response on a stuffer error

2012-04-24 Thread Jay McCarthy
There was no way to do this, but I just added the 92nd keyword to serve/servlet to do it: #:servlet-responder (λ (url exn) (response/xexpr `(html (body "Some other message" allows you to inspect the exception and return a differ

[racket] Stateless Web Server: Generating a response on a stuffer error

2012-04-23 Thread Galler
Description: the stateless webserver allows a user to generate a stuffer to manipulate the encoding of the ANF sent to the client in the URL For example (stuffer-chain serialize-stuffer (stuffer-compose base64-stuffer (HMAC-SHA1-stuffer #"mysupersecretkey"))) will prepend a digest to the b