Jon Harper
62603e1f8c
http.client, allow to use http proxies
2016-03-30 13:46:55 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Björn Lindqvist
d30beb13ed
http.server.requests: system for read-request for reporting errors
...
The idea is that read-request throws request-error if something is
wrong with the request. handle-client* can then catch it and respond
with 400 bad request. This way you can differentiate between bad
requests and requests that causes the HTTP server to crash.
2015-05-12 09:31:22 -07:00
Björn Lindqvist
f75ee294e7
http.server.requests: refactor the http.server vocabs request handling into its own vocab
2015-05-12 09:31:21 -07:00
John Benediktsson
e164fcf431
http.parsers: parse a "simple request".
2015-03-11 17:48:28 -07:00
Björn Lindqvist
84663ca054
http.server: handle certain parse-errors from the peg vocab
...
Browsers that can't verify the certificate doesn't send any request at
all which causes parse-errors to be unnecessarily thrown and logged.
2014-10-23 11:31:17 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
Doug Coleman
fb178b19a3
Fix using list for http.server tests
2011-10-12 23:19:11 -07:00
John Benediktsson
e7fb699832
http.server: ignore preceding whitespace before request lines. Fixes #252 .
2011-10-12 20:21:16 -07:00
John Benediktsson
46f8225f7a
http: change client/server to support LF and CRLF delimited headers.
2011-10-12 12:51:49 -07:00
Slava Pestov
02a4082e1f
http.server: decouple charset header from encoding used to send the data, and serve text files as UTF-8 by default
2010-03-13 19:07:35 +13:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
cb174f0db1
Regression: HTTP server would fail to serve files with binary encoding after Dan's io.encodings.iana changes from earlier today
2009-02-04 04:17:24 -06:00
Slava Pestov
7a8dc80426
Fix some issues in http.server
2009-01-31 20:54:49 -06:00
Slava Pestov
724fae53e9
Move web framework to basis
2008-09-04 18:15:13 -05:00