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

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Nov 17 12:07:30 EST 2008

This was a bug. I've fixed it in SVN.

Jay

On Sun, Nov 16, 2008 at 1:38 PM, YC <yinso.chen at gmail.com> wrote:
> 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.
>
> Thanks,
> yc
>
>
>
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://jay.teammccarthy.org

"The glory of God is Intelligence" - D&C 93


Posted on the users mailing list.