chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Announcement: http-server-form-posts egg


From: Moe Aboulkheir
Subject: Re: [Chicken-users] Announcement: http-server-form-posts egg
Date: Tue, 7 Nov 2006 03:04:32 +0200



On 06 Nov 2006 15:29:20 -0200, Mario Domenech Goulart <address@hidden> wrote:
Hello Moe,

On Sun, 5 Nov 2006 23:10:07 +0200 Moe Aboulkheir <address@hidden> wrote:

The first release of the http-server-form-posts egg is available!

Thanks a lot!  That's very useful.

Great :).


I'm trying http-server-form-posts to upload a file and it seems that
the connection is not being closed, even if the file transfer is
finished.

What I'm doing is:

[snip]

When I run web-server.scm, access http://localhost:8080/index.ws and
upload a file, spiffy shows:

[request 0 from 127.0.0.1; thread8 (of 1) started...]
[read: "POST /form-post HTTP/1.1"]
[request: method=POST, url=/form-post, protocol=HTTP/1.1]
[attributes: (("content-length" . "66947") ("content-type" . "multipart/form-data; boundary=---------------------------7950133381615917017783631459") ("referer" . "http://localhost:8080/index.ws";) ("connection" . 
"keep-alive") ("keep-alive" . "300") ("accept-charset" . "ISO-8859-1,utf-8;q=0.7,*;q=0.7") ("accept-encoding" . "gzip,deflate") ("accept-language" . "en-us,en;q=0.5") ("accept" . 
"text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5") ("user-agent" . "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060921 Ubuntu/dapper-security Firefox/1.5.0.7") ("host" . 
"localhost:8080"))]
[handling POST request...]
[thread8 (of 1) kept alive, reading next request...]


The file is transfered, but the connection doesn't seem to be closed.

Is there anything I'm missing?

Looking at the headers alist, it seems the client sent Connection: Keep-alive.    I am 
guessing that you would get the same terminal output ("... kept alive ...") for 
any kind of HTTP request where the client sends such a header, regardless of whether you 
are using http-server-form-posts or not.

--
Moe Aboulkheir




reply via email to

[Prev in Thread] Current Thread [Next in Thread]