Commit Graph

49 Commits (db42e128538f32bb3399f5469866d1b3553ecea3)

Author SHA1 Message Date
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 f75ee294e7 http.server.requests: refactor the http.server vocabs request handling into its own vocab 2015-05-12 09:31:21 -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
Doug Coleman 32ff5f4b9b http: Use make 2012-07-19 17:52:43 -07:00
John Benediktsson 3ea37a93eb more H{ } make fixes. 2012-07-19 14:38:22 -07:00
John Benediktsson a93328e8c7 http: using temp directory. 2012-06-18 12:33:07 -07:00
Slava Pestov 721d035901 http.server: closing socket without sending any text would hang the http.server. Fixes #311 2011-10-28 23:54:55 -07:00
Slava Pestov 89ae9d9638 Various cleanups for Doug's recent socket addressing change
- urls: now have a host/port slots again, add a new set-url-addr word
- http.server: fix host header parsing for IPv6 addresses
2010-10-06 23:00:38 -07:00
Doug Coleman 32f447d796 Since ip4/ip6 services can run on different ports, we must include which version of ip we're using instead of just a port. Make URL objects store an inet4/i nt6/inet object with host/port slots instead of storing host/port slots separately. Stricter error checking on inet4/inet6 tuple creation. Update lots of code related to the URL change. 2010-10-05 09:56:29 -05:00
Slava Pestov 875e7c17ec http.server.static: look for index.fhtml when fhtml is enabled 2010-09-28 21:34:15 -07:00
Doug Coleman 0bbfa64b24 Squashed commit of the following:
commit 54b3e19c7407707fabddd53872559c58cd5143d2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:10:15 2010 -0500

    Fix typo

commit 3207516dc93e0e1edc9f119efcc79f4484eab244
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:08:30 2010 -0500

    Rename io.servers.connection to io.servers
2010-09-27 19:12:33 -05:00
Doug Coleman 87ec88ff6c Fix http tests and io.server.connection docs 2010-09-19 15:47:25 -05:00
Doug Coleman aa8c12a84b Squashed commit of the following:
commit 8a15381d30508b8f36a9e36dc3a0afc3c962c853
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 11 14:32:30 2010 -0500

    Squash threaded-server branch
2010-09-19 13:38:02 -05:00
Slava Pestov 97e6ac1c50 http: turns out we do need to handle port number in host header, and client needs to send it but only for non-default ports, since sending it for the default port breaks Twitter's HTTP server (reported by John Benediktsson) 2010-08-20 18:28:50 -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
Doug Coleman 55e772c528 Remove the http-data word 2010-03-01 22:32:15 -06:00
Doug Coleman 9bf7f56283 Add a new word http-data that is just http-get nip 2010-02-27 07:58:35 -06:00
Doug Coleman b71d86a1dc update more 8bit encoding usages 2009-11-12 18:36:47 -06:00
Slava Pestov c4f4c6749f Fixing some test failures after url.encoding change 2009-07-09 19:02:15 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov cedbad0772 Fix tests to not clutter Factor directory 2009-04-13 15:21:16 -05:00
Slava Pestov 694652590f download word throneeds to ws an error if the request did not return a success code (reported by Chris Double) 2009-04-09 08:18:26 -05:00
Slava Pestov 63cf5b04e1 http.client: fix 307 redirect behavior (reported by Chris Double) 2009-04-07 04:19:21 -05:00
Slava Pestov 2c1f7b9293 Static responder now works when the root is a file rather than a directory 2009-04-07 03:37:29 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Slava Pestov 81d23c3ac0 Fix parse-content-type for quoted tokens 2009-03-08 17:33:17 -05:00
Slava Pestov 4f81b6750f Make cookie header parser more lenient 2009-03-07 20:32:07 -06:00
Slava Pestov 6b99b04531 Add vocab: for vocab-relative paths 2009-02-15 19:53:21 -06:00
Joe Groff 2bb9448ebc add set-basic-auth to http, and make http-request stuff the response body in the error message on failure 2009-02-12 22:39:26 -06:00
Daniel Ehrenberg 86c3481f12 Moving XML vocabularies around 2009-02-05 21:17:03 -06:00
Slava Pestov e089ce6df0 Fix http test 2009-02-01 02:02:09 -06:00
Slava Pestov 7a8dc80426 Fix some issues in http.server 2009-01-31 20:54:49 -06:00
Daniel Ehrenberg cadbcdc9a4 Fixing everything now(?) 2009-01-29 15:15:50 -06:00
Slava Pestov f160771123 Fix POST with streams to use chunked encoding, add http-put word 2009-01-22 19:08:38 -06:00
Doug Coleman 3150722c7f better http.server that handles multipart data in the same way as regular form data. fix http client for changes 2009-01-21 19:55:25 -06:00
Slava Pestov 5cb18d51b3 Fixing test-all and help-lint-all failures 2008-12-15 03:33:04 -06:00
Slava Pestov 6297c4d2e4 Make cookie parsing more permissive 2008-11-24 20:26:29 -06:00
Slava Pestov 1df08ba8c8 Unit tests no longer use hard-coded ports 2008-10-20 22:05:22 -05:00
Doug Coleman 39eacca297 fix test, something is still broken 2008-10-02 16:37:04 -05:00
Doug Coleman 695d3dd2d2 Merge branch 'master' of git://factorcode.org/git/factor 2008-10-02 12:52:42 -05:00
Doug Coleman a7027700d1 update with-db usages 2008-10-02 12:51:21 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov 403d5207f0 stop-server/stop-this-server split 2008-10-02 08:30:38 -05:00
Slava Pestov 0ba1a1335e http.server documentation 2008-09-27 11:37:46 -05:00
Slava Pestov 32c2543571 Documentation fixes 2008-09-06 05:12:28 -05:00
Slava Pestov 99cf4354bc Fix test failures 2008-09-06 02:16:44 -05:00
Slava Pestov 57ca685e26 New tuple syntax 2008-09-05 20:39:45 -05:00
Slava Pestov 26b89084b7 Fix path names 2008-09-04 20:11:28 -05:00
Slava Pestov 724fae53e9 Move web framework to basis 2008-09-04 18:15:13 -05:00