Commit Graph

101 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
Björn Lindqvist b31c0b8857 Docs: bunch of random doc updates 2016-10-31 11:46:39 +01:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
Doug Coleman 0e55a173a0 http.client: disable sni test that hits the velox.ch site as per requested by the site owner. 2016-05-22 22:53:28 -07:00
Jon Harper 617a725ba5 http.client, proxy defaults to http protocol like for the target 2016-03-31 06:25:03 -07:00
Jon Harper ed33bc7862 http.client, request-url don't try to fix unfixable urls
Before, it would prepend http:// to anything and that would create
bad urls like URL" http://http://". It's simpler to fix only what is
fixable
2016-03-31 06:25:03 -07:00
Jon Harper 9cbf548340 http.client: throw if the proxy not empty and not valid 2016-03-31 06:25:03 -07:00
John Benediktsson fc8830b03e http.client: make no-proxy? to do less work with no proxies. 2016-03-30 13:49:11 -07:00
Jon Harper 62603e1f8c http.client, allow to use http proxies 2016-03-30 13:46:55 -07:00
Jon Harper e272a5a670 http.client, automatically add basic auth from urls if present 2016-03-30 13:46:55 -07:00
Jon Harper 2bf3eb3919 http.client, don't write the anchor in the request line 2016-03-30 13:46:55 -07:00
Jon Harper 4ad5071b70 http.client, fix GETs after POSTs redirects
Before this change, after a post is responded to by a 301 redirect,
the next GET had the "content-length: XX" and
"content-type: application/x-www-form-urlencoded" http headers.

Detected by running "http" test while using
squid 3.3.8 which returns a 411 error in this case.
2016-03-30 13:46:55 -07:00
Benjamin Pollack 3fda77dbe8 Add an SNI-based http.client test 2016-03-03 09:48:20 -08: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 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
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 9eb365abe0 http.client: add quot stack effect. 2015-04-17 17:54:29 -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 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -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 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