Commit Graph

191 Commits (d6c60258cf61a9a98dffa50ebd074ead645e1158)

Author SHA1 Message Date
John Benediktsson d7f9fe7600 http: only parse expires if non-empty. 2012-07-27 13:46:45 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -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 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 88e0936618 more cleanup for H{ } make. 2012-07-19 11:39:56 -07:00
John Benediktsson a93328e8c7 http: using temp directory. 2012-06-18 12:33:07 -07:00
John Benediktsson 180ad0aabf fix some tests broken by the prepend change. 2012-05-29 16:58:58 -07:00
otoburb 7417d8f0c8 client-docs: Updated HTTP PUT documentation typos 2012-01-11 02:33:05 +00:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -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
John Benediktsson c8732657b7 Cleanup more lint warnings. 2011-10-16 13:01:58 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 378786599d Cleanup lint warnings. 2011-10-14 11:47:24 -07:00
John Benediktsson 6417f36397 namespaces: adding a "with-global" word to replace "global [ ] bind". 2011-10-13 17:21:59 -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 1769a63ca3 http.client: too aggressive with ?CRLF. 2011-10-12 20:14:21 -07:00
John Benediktsson 46f8225f7a http: change client/server to support LF and CRLF delimited headers. 2011-10-12 12:51:49 -07:00
John Benediktsson 9f34c9c676 Spelling fixes to documentation. 2011-08-26 16:20:31 -07:00
otoburb 76b5399d68 http.client-docs: Added documentation for HEAD, TRACE, OPTIONS and DELETE methods 2011-05-24 22:05:27 -04:00
otoburb b8b1c30062 http.client: Added OPTIONS, TRACE and HEAD HTTP methods 2011-05-12 01:32:00 +00:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
Doug Coleman 979e487fef Merge branch 'master' of git://factorcode.org/git/factor 2011-02-26 11:44:50 -06:00
Doug Coleman 02ecc45165 Don't normalize cookie names to lower-case. 2011-02-10 21:09:20 -06:00
Keita Haga 073eda332a In several documentation, remove whitespace before or after the colon or period 2011-02-10 01:51:13 +09:00
Keita Haga 3ba83001e4 http.client: fix typo in docs 2011-01-05 01:00:13 +09:00
Slava Pestov b10897334c io.sockets.secure: add ssl-supported? hook, and make furnace.auth and twitter vocabs use it. This makes furnace work on Windows 2010-10-24 15:54:19 -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
Doug Coleman dc4970e234 Fix file uploads by using unlimit-stream for now. Will compare solution to with-combinators tomorrow. 2010-09-08 02:50:25 -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
Joe Groff f7960c7f6a http.server: reintroduce some code cleanups now that it's back in a working state 2010-07-09 14:52:42 -07:00
Joe Groff 67a241eba3 http.server: revert d00ea changes so that server works again 2010-07-09 14:47:34 -07:00
Joe Groff 0bdc1514fd io.streams.limited: remove unlimit* 2010-07-09 13:52:15 -07:00
Doug Coleman 2ca509a8fe Split off io.streams.throwing from io.streams.limited and update usages of limited streams 2010-07-09 13:32:09 -05:00
Slava Pestov a7dec01453 http: host header should not include the port number 2010-07-05 22:55:20 -04:00
Slava Pestov 01c0db90a4 http.server: more doc fixes 2010-06-28 17:42:48 -04:00
Slava Pestov 0bea14dcd5 http.server: tweak docs 2010-06-28 17:31:45 -04:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Daniel Ehrenberg eb060443db Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Slava Pestov e30d18aefc http: update docs 2010-03-15 19:25:20 +13:00
Slava Pestov 937b05f1de http: clean up and fix some content encoding logic 2010-03-13 22:10:36 +13: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 18c0935b64 Docs for http-data 2010-02-27 07:58:37 -06:00