Commit Graph

86 Commits

Author SHA1 Message Date
Matthew Flatt
e8f889eb05 net/url: add `current-url-encode-mode'
Changing `current-url-encode-mode' from 'recommended to 'unreserved
causes `url->string' to encode !, *, ', (, and ) using %, which
can avoid confusing some parsers.

See also https://github.com/plt/racket/pull/198

original commit: b8b8260379
2012-12-17 06:56:38 -07:00
Matthew Flatt
8a061420d0 net/uri-codec: added `uri-path-segment-unreserved-encode'
original commit: 3d1f1289ef
2012-12-17 06:32:59 -07:00
Matthew Flatt
a951303303 net/ftp: make progress proc keyword, change progress protocol
The revised protocol for a progress procedure doesn't create
the thread automatically, and it provides an event to indicate
when the progress count changes.

original commit: e0de33a005
2012-12-13 07:45:26 -07:00
Chenxiao
d668029836 Improve ftp client. Add upload, progress monitor and something else.
original commit: 4cc287f7e5
2012-12-13 07:09:04 -07:00
Philippe Mechai
51f0506e7e Added path->url tests for directory paths
This check that no regression was introduced with 733d95b.

original commit: 201534b7ad
2012-11-27 08:46:40 -07:00
John Clements
7c864d188f exposed mapping for unreserved characters
original commit: 1f02a0a8b8
2012-11-01 12:38:09 -07:00
Jay McCarthy
191874f50f second attempt at removing reliance on tcp. available has been greatly simplified because it relied on the behavior the thread.rktl test is actually testing
original commit: f16e76ca32
2012-10-26 15:26:39 -06:00
Jay McCarthy
7d47105aac Test localhost tcp before running echo server test
original commit: 552fe0f755
2012-10-23 11:28:27 -06:00
Jay McCarthy
eeace01d3b changing tests for environments where listen fails
original commit: 09dd60789a
2012-10-19 15:24:20 -06:00
Eli Barzilay
45ee870f98 Streamline more test suits.
original commit: 6260b4c239
2012-05-24 11:27:13 -04:00
Matthew Flatt
dbe90fa15e add optional newline argument to `base64-encode'
original commit: a12f9831a3
2012-02-21 06:14:44 -07:00
Matthew Flatt
e6d06d9bd5 net/mime: allow any subtype, exns as exn:fail subtypes; doc fixes
original commit: 7153fbd4d5
2012-01-08 12:14:51 -07:00
Jay McCarthy
ad78dea87a Revert "This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it."
This reverts commit 7f9818bb3e.

original commit: 41e04b33da
2011-11-23 11:13:20 -07:00
Jay McCarthy
26326b6235 This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it.
original commit: 7f9818bb3e
2011-11-23 10:59:54 -07:00
Robby Findler
8f9006e82e add support for redirections to get-pure-port and add get-pure-port/headers
original commit: 11a3d9b0ac
2011-10-03 13:21:30 -05:00
Robby Findler
853e6d7827 adjust the "Transfer-Encoding: chunked" code to re-use bytes more
agressively

original commit: 1fa6129afc
2011-10-03 13:21:29 -05:00
Eli Barzilay
62e93cf2a4 Heavily revise this test.
- Simplify code
- Remove bogus leftover (tests) in the end
- Resolve deadlock that resulted from using `tcp-abandon-port' in
  `net/ftp'
- Actually there's no need for threads, probably because of small size
  of data, so keep it.
- Use scribble syntax instead of here-strings, and move the text out of
  the way.

original commit: f297c98c1a
2011-08-15 02:37:39 -04:00
Eli Barzilay
d6dad89d3a ".ss" -> ".rkt" scan done.
original commit: 3157955d40
2011-07-02 10:37:53 -04:00
Eli Barzilay
d3a49471f7 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619
2011-06-28 02:01:41 -04:00
Matthew Flatt
f9c5f5dbe3 adjust and document net/url HTTPS support
original commit: f3da5f7fd8
2011-06-20 08:00:43 -06:00
Eli Barzilay
ad323a2665 Use "127.0.0.1" instead of "localhost" which can be more fragile.
(It's possible to have issues with "localhost", for example when there's
something in a $LOCALDOMAIN environment variable, which made this test
fail on certain machines.)

original commit: 22afec432c
2011-03-03 11:10:12 -05:00
Jay McCarthy
0ccf9ccd71 Fixing example
original commit: f5e9e0dad1
2010-12-07 14:14:52 -07:00
Jay McCarthy
7fbbc1b527 Moving stress tests
original commit: f899e03b59
2010-08-30 06:39:12 -06:00
Jay McCarthy
21c34d29d4 Increasing FTP test stability
original commit: bc15f398f2
2010-08-28 18:52:39 -06:00
Jay McCarthy
58ec991bd1 Adding WebSocket stress test and improving fit output
original commit: 5eb8f181f6
2010-08-19 16:34:16 -06:00
Jay McCarthy
646061cf40 Adding WebSocket example
original commit: 1f61e7eb7f
2010-08-19 16:34:15 -06:00
Jay McCarthy
1adbeaa73f Adding WebSocket support
original commit: 347e946548
2010-08-19 16:34:15 -06:00
Jay McCarthy
98c8c339e6 FTP tests without a network connection
original commit: 928dfd6fa2
2010-08-11 13:49:10 -06:00
Jay McCarthy
a616f14181 Close connection sooner
original commit: fc91321f21
2010-06-29 13:49:01 -06:00
Jay McCarthy
a5c309a12b Nail down port and dont conflict
original commit: 2e5c04f083
2010-06-29 13:23:23 -06:00
Jay McCarthy
6a9fe98a22 Fixing PR 10970
original commit: 428412036f
2010-06-23 16:29:23 -06:00
Jay McCarthy
3b0c151ba1 Removing test auto run
original commit: 85a7509034
2010-05-24 09:56:35 -06:00
Jay McCarthy
76b1f30a2f Initial ftp test cases
original commit: 15d9a7dd8a
2010-05-24 09:56:35 -06:00
Jay McCarthy
732ec40e10 rkt suffixes
original commit: 52281d7089
2010-05-24 09:56:35 -06:00
Eli Barzilay
12ab929e59 A lot of "plt-scheme.org" -> "racket-lang.org"s.
original commit: a46743211b
2010-05-17 00:53:12 -04:00
Matthew Flatt
4305d5eaa0 more test repairs
original commit: 5a93e8c5e0
2010-05-02 08:31:12 -06:00
Matthew Flatt
a714e5c02a use .rktl suffix for files meant to be 'load'ed
original commit: e504acb726
2010-05-01 09:58:16 -06:00
Sam Tobin-Hochstadt
97a22c0320 loadtest.ss -> loadtest.rkt
original commit: 85fad33c4c
2010-04-30 16:35:48 -04:00
Matthew Flatt
8c6fbadb8c fix some DrDr tests
original commit: f20d3db75f
2010-04-29 19:55:39 -06:00
Matthew Flatt
a0686e07c1 move tests/mzscheme to tests/racket
original commit: 882b7dce0e
2010-04-27 18:28:39 -06:00
Matthew Flatt
9ed60bcafa rename all files .ss -> .rkt
original commit: 28b4043077
2010-04-27 16:50:15 -06:00
Jay McCarthy
f0906d3131 Fixing cookie regex
original commit: 96a3f47ea0
2010-04-27 08:48:07 -06:00
Eli Barzilay
303b647cc3 Added a `file' "test suite", with only tests for inflate/deflate.
svn: r14147

original commit: c69045008d
2009-03-17 14:57:01 +00:00
Eli Barzilay
926459b339 remove old net tests
svn: r14144

original commit: 5d6b74d3b6
2009-03-17 11:42:31 +00:00
Eli Barzilay
57d491ad1e new copy of net tests, split into modules, and using my test macro
svn: r14143

original commit: b647ea2ae9
2009-03-17 11:41:06 +00:00
Eli Barzilay
00a530a3d8 Converted the cgi tests to use my test macro, and included them in the
nightly testing.

svn: r14139

original commit: 2008456d64
2009-03-17 07:04:16 +00:00
Jay McCarthy
7bb5dd7c67 pr7974 + include in release
svn: r14132

original commit: f9c4e4eb54
2009-03-16 18:45:16 +00:00
Robby Findler
bf3aa92f31 allows colons in the userinfo field of a url (ie, does not encode them)
svn: r13282

original commit: 134138916f
2009-01-25 20:12:08 +00:00
Eli Barzilay
8b65f4ac26 more base64-related changes
svn: r11470

original commit: 20e9673028
2008-08-28 21:00:53 +00:00
Matthew Flatt
a37ecf0b23 net/url and tests fixes for windows
svn: r9249

original commit: 2dc02d81fe
2008-04-11 01:12:01 +00:00