On 3 January 2011 12:30, Ken Wesson wrote:
> 2011/1/3 Remco van 't Veer :
>> Try adding CR to your LF's. RFC 1945 states:
>>
>> HTTP/1.0 defines the octet sequence CR LF as the end-of-line marker
>> for all protocol elements ...
>
> My God, is nothing exempt from Microsoft's taint? This has t
2011/1/3 Remco van 't Veer :
> Try adding CR to your LF's. RFC 1945 states:
>
> HTTP/1.0 defines the octet sequence CR LF as the end-of-line marker
> for all protocol elements ...
My God, is nothing exempt from Microsoft's taint? This has the stench
of "concession to stupidly-designed Windows
Try adding CR to your LF's. RFC 1945 states:
HTTP/1.0 defines the octet sequence CR LF as the end-of-line marker
for all protocol elements except the Entity-Body (see Appendix B for
tolerant applications). The end-of-line marker within an Entity-Body
is defined by its associated media
There is no any error when I access http://127.0.0.1:8080 by browser.
While with wget, there will be some messages as below:
--2011-01-01 09:22:49-- (try:20) http://127.0.0.1:8080/
Connecting to 127.0.0.1:8080... connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/
Both of these examples work for me (clojure 1.2).
Is there an error on the console when you access the site?
Also, if this is not a learning exercise, I recommend having a look at
Compojure for web development.
HTH,
--
Miki
--
You received this message because you are subscribed to the Google
Sorry for my net speed is too slow result in duplicate post.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
f
I have read Fast Track Clojure's serials tutorial. lession 5 is about
a web server.
Below is part of demo code:
(use 'clojure.contrib.server-socket)
(create-server
8080
(fn [in out]
(binding
[*out* (java.io.PrintWriter. out)]
(println "HTTP/1.0 200 OK")
(println "Conten
I have read Fast Track Clojure's serials tutorial. lession 5 is about
a web server.
Below is part of demo code:
(use 'clojure.contrib.server-socket)
(create-server
8080
(fn [in out]
(binding
[*out* (java.io.PrintWriter. out)]
(println "HTTP/1.0 200 OK")
(println "Conten
I have read Fast Track Clojure's serials tutorial. lession 5 is about
a web server.
Below is part of demo code:
(use 'clojure.contrib.server-socket)
(create-server
8080
(fn [in out]
(binding
[*out* (java.io.PrintWriter. out)]
(println "HTTP/1.0 200 OK")
(println "Conten