Commit Graph

69 Commits (320efb8bc7cf702089829a24c21eef6da6ff19b9)

Author SHA1 Message Date
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
otoburb 7417d8f0c8 client-docs: Updated HTTP PUT documentation typos 2012-01-11 02:33:05 +00: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
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 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 a7dec01453 http: host header should not include the port number 2010-07-05 22:55:20 -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 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
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
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Slava Pestov c4f4c6749f Fixing some test failures after url.encoding change 2009-07-09 19:02:15 -05:00
Alfredo Beaumont 45ee0a4269 Added support for custom redirect number in http requests 2009-06-18 20:47:08 +02:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov a362ea7d6d Tweak http.client docs 2009-04-30 22:10:18 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Alex Chapman 9e4adede5f Add <delete-request> and http-delete 2009-04-15 10:52:00 +10:00
Alex Chapman f2596259dd Merge branch 'master' into experimental
Conflicts:
	basis/http/client/client.factor
2009-04-14 10:42:41 +10:00
Alex Chapman ace909795d couchdb in progress 2009-04-14 10:00:09 +10: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
Alex Chapman 7b1ed9889f Merge branch 'master' into experimental
Conflicts:
	basis/http/client/client.factor
2009-02-16 12:48:58 +11: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
Alex Chapman a04d8aaf17 Merge branch 'master' into experimental 2009-01-30 21:22:54 +11:00
Alex Chapman da7a6da6a5 Merge branch 'master' into experimental
Conflicts:
	basis/http/client/client.factor
2009-01-30 21:20:28 +11:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Daniel Ehrenberg d5160ce791 Fixing USING: lines 2009-01-28 15:46:34 -06:00
Alex Chapman 4e41211399 Merge branch 'master' into experimental (untested!)
Conflicts:
	basis/http/client/client.factor
2009-01-28 20:58:35 +11:00
Slava Pestov 29b561a7ee Fix load error 2009-01-23 21:10:23 -06:00
Slava Pestov 7b344408ff Working on better POST and PUT requests 2009-01-23 20:02:14 -06:00
Slava Pestov 6e9f0dbfdd Update http.client docs for PUT request and stream post-data 2009-01-22 23:01:29 -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 376f332eef allow streams in the post-data tuple 2009-01-21 22:21:40 -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 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
Philipp Winkler 0cc4dc4e0a Allow post data to be send on PUT as well as POST actions. Allow any message between 200 and 299 to mean success. 2008-12-10 21:30:33 -08:00
Slava Pestov 5bfa17d962 Split off error. methods into sub-vocabs in a few places 2008-12-08 20:04:13 -06:00
Alex Chapman 2250ecc42b Merge branch 'master' into experimental 2008-11-26 15:04:38 +11:00