John Benediktsson
29f94f8a65
http.server.static: better fix for cgi-docs issue.
2015-10-02 11:32:20 -07:00
John Benediktsson
36c002f567
http.server.cgi: different fix maybe.
2015-10-02 11:25:36 -07:00
John Benediktsson
761f0d630e
Revert "http.server.cgi: fix for the dependency cycle http.server.cgi <=>"
...
This reverts commit 51c5484e24
.
2015-10-02 11:12:56 -07:00
Björn Lindqvist
51c5484e24
http.server.cgi: fix for the dependency cycle http.server.cgi <=>
...
http.server.static (#1311 )
2015-10-02 14:19:47 +02:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Doug Coleman
be82224fe9
peg: 'convention' -> convention-parser for Factor word names. In EBNF DSL, 'convention' is obviously still allowed.
2015-08-15 18:10:52 -07:00
John Benediktsson
2bb93f1b72
furnace.actions: return Method Not Allowed if not GET/HEAD/POST.
2015-08-15 16:57:40 -07:00
John Benediktsson
ceb75057da
change ERROR: words from throw-foo back to foo.
2015-08-13 16:13:05 -07:00
Doug Coleman
b6be8685c3
basis: ERROR: changes.
2015-08-13 03:20:39 -07:00
Doug Coleman
330c7ba156
factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
...
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
892c62e1dc
factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test
2015-07-03 09:39:59 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
40892c0302
tests: prefer ${ } instead of 1array
2015-07-02 14:56:14 -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
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
352e5de16a
core, basis, extra: Remove DOS line endings from files.
...
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson
2c3492a916
minor cleanup to some docs.
2015-05-13 16:09:14 -07:00
Björn Lindqvist
ba8caa72fb
io.crlf: the lf>crlf and crlf>lf words looks generally useful, lets put them in io.crlf to reduce some code duplication
2015-05-12 09:32:05 -07:00
Björn Lindqvist
36444f328f
http.server.requests: an upper limit is needed for the content-length header
2015-05-12 09:32:05 -07:00
Björn Lindqvist
7647020615
http.server: extend handle-client-error so that it responds with 400 Bad Request if the request is invalid
2015-05-12 09:32:05 -07:00
Björn Lindqvist
eac41a588a
http.server.requests: if the content-length header is missing or invalid, a (controlled) error is thrown
2015-05-12 09:31:22 -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
99012bb20a
http.server.requests.tests: more tests for POST requests handling
2015-05-12 09:31:21 -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
9eb365abe0
http.client: add quot stack effect.
2015-04-17 17:54:29 -07:00
John Benediktsson
e164fcf431
http.parsers: parse a "simple request".
2015-03-11 17:48:28 -07:00
Doug Coleman
ed7ceaf900
http.server: Make sure http.forms is loaded for http.server docs. Fixes #1216 .
2014-11-23 01:05:21 -08:00
Benjamin Pollack
2c3dd8c3c8
Remove executable bit from tons of files that aren't
2014-11-05 20:40:42 -08: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
Björn Lindqvist
1824680ad1
furnace.db: db-persistence needs a dispose word that delegates to its pool slot
...
tests in http.tests refactored using "with-words" so that they always
dispose any db-persistence instances they create.
2014-09-28 20:39:25 -07:00
John Benediktsson
1701fe3f59
http.client: adding version of download-to that checks file exists.
2014-06-09 08:57:45 -07:00
John Benediktsson
57f9d78892
improve help by linking to types directly.
2014-05-23 20:20:15 -07:00
John Benediktsson
98935b7f15
docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``.
2014-05-18 20:09:10 -07:00
John Benediktsson
78d0aad87d
http.server.responses: adding <html-content>, use it.
2014-04-22 13:47:25 -07:00
Profpatsch
902e877c12
http.server.responses: Add <text-content>, improve docs.
2014-04-22 13:34:01 -07:00
John Benediktsson
d4a56057f0
http.client: add starred versions that do not check response code for success.
2014-03-13 12:26:35 -07:00
John Benediktsson
272102e647
http.client: fix duplicate using.
2014-03-12 19:51:50 -07:00
John Benediktsson
cb9c171383
http.client: remove unused word.
2014-03-12 19:39:15 -07:00
John Benediktsson
712be93989
http.client: remove http-get* and its friends, change http-request* and with-http-request* to not check response codes.
2014-03-12 19:39:15 -07:00
John Benediktsson
6a2d6971c6
http.client: adding http-request*.
2013-10-12 10:57:00 -07:00
John Benediktsson
278d210064
http.client: add variants to the docs.
2013-10-12 10:39:05 -07:00
John Benediktsson
18088e1aa3
http.client: adding variants of http-methods that check the response code.
2013-10-12 10:25:08 -07:00
John Benediktsson
9cc27f22f7
http.client: add quotation stack effects.
2013-09-23 15:47:31 -07:00
John Benediktsson
d44cc17161
update docs for help.lint checks.
2013-08-24 11:39:31 -07:00
John Benediktsson
b5484d33ba
http.client: support urls without protocols (in addition to strings).
2013-07-15 10:28:28 -07:00
John Benediktsson
0555425861
http.client: default to http:// if not specified.
2013-07-15 09:30:22 -07:00
John Benediktsson
2526d3c982
Fix some copyrights, sorry "Your name".
2013-04-25 13:26:36 -07:00