[plt-scheme] web-server: response/basic vs. response/full

From: YC (yinso.chen at gmail.com)
Date: Sun Nov 16 15:38:02 EST 2008

Hi Jay -

On Sat, Nov 15, 2008 at 11:01 PM, Jay McCarthy <jay.mccarthy at gmail.com>wrote:

> Are you saying you didn't realize you could do this, or that there is
> a bug when you try to?

I am saying that there might be a bug - when I use (make-response/basic 304
...) the result is a 200 instead of 304.

I glanced at web-server/private/response.ss and it seems to convert a
response/basic into a response/full at response->response/basic.  But the
conversion doesn't retain the original status code.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20081116/7ae991e6/attachment.html>

Posted on the users mailing list.