[racket] Parameters and servlets

From: antoine (antoine.brand at sfr.fr)
Date: Tue Jan 21 13:03:01 EST 2014

Bonjour,

I think the parameterize approach didn't work because of:

(parameterize ([request-data (extract-the-data req)])
	      (responce/output (lambda (out) (request-data))))

The lambda is put into a response struct, and the call to this
lambda is done outside the scope of the parameterize.


I am not sure to understand you about HTTP request.

I will explicit what i think is done (in the current implementation):

- Initialisation of a tcp connection
- Client sent an HTTP request
- Server create a thread (in the actual implementation) do the work and return a response
- end of tcp connection

Am i right?

Posted on the users mailing list.