Commit Graph

426 Commits

Author SHA1 Message Date
Jay McCarthy
3385eeb32f error from Jon Stenerson 2015-10-30 13:49:59 -04:00
Matthew Flatt
d3c03ee793 remove redundant (and now out-of-date) tests 2015-10-12 15:48:58 -06:00
Matthew Flatt
00ef691ff2 update tests and docs for Windows path encoding in URLs
See 5afdae8af9 in the main repo.
2015-10-12 08:50:46 -06:00
Matthew Flatt
23e2b806a2 git-checkout: document and test #:strict-links? 2015-10-02 09:34:46 -06:00
Matthew Flatt
37814da758 add tests for net/git-checkout 2015-10-02 09:07:28 -06:00
Vincent St-Amour
61f1c1406c Fix doc typo.
To be consistent with racket/tcp's docs.
2015-09-08 10:44:45 -05:00
Vincent St-Amour
b1d8d77b78 Use in-slice from racket/sequence. 2015-08-13 10:39:57 -05:00
Vincent St-Amour
08c406bcff Remove unused deps. 2015-08-13 10:38:51 -05:00
Tim Brown
9f1489030c url-strings: Test and Documentation Changes
T&D for url-strings-branch which separates URL parsing from
url network actions.

url-string changes requested by mflatt

url-string has been renamed from url-strings

documentation and tests reflect that
2015-08-12 11:02:16 -05:00
Matthew Flatt
2a354af4e3 adjust version in history note
Promote v6.2.0.x change to v6.3, since it will not be in v6.2.1.
2015-07-30 14:52:23 -06:00
Sam Tobin-Hochstadt
75ceafbf51 Fix http client tests for 33717eebaa in plt/racket. 2015-07-21 13:43:27 -04:00
Robby Findler
5ad76a703d add documentation and a contract for send-url/mac 2015-06-28 17:01:27 -05:00
Konrad Hinsen
1b6f2356e7 Simplified browser configuration for MacOS X
Add an optional #:browser argument to send-url/mac and export it.

This makes it straightforward to use different browsers and/or to
configure a different one:

    (require net/sendurl)
    (external-browser (lambda (url) (send-url/mac url #:browser "Conkeror")))
2015-06-28 16:54:40 -05:00
Matthew Flatt
88551aa8c6 git-checkout: add #:initial-error argument 2015-05-16 16:22:08 -06:00
Ryan Culpepper
dfac49e597 add memory use and random roundtrip tests for net/uri-codec 2015-05-12 18:35:44 -04:00
Jay McCarthy
4418442d33 Merge pull request #3 from samth/fix-qp
Handle unexpected eof after =.
2015-04-10 16:29:15 -04:00
Jay McCarthy
81b74f9545 Merge pull request #2 from RenaissanceBug/rfc6265-docfix
Fix accidental dep on net-cookies package.
2015-04-10 07:23:37 -04:00
Sam Tobin-Hochstadt
a38834ebf2 Handle unexpected eof after =. 2015-04-09 13:48:10 -04:00
Jordan Johnson
83df895eb8 Fix accidental dep on net-cookies package. 2015-04-09 10:39:07 -07:00
Jay McCarthy
c239ef7327 Merge pull request #1 from RenaissanceBug/rfc6265-cookies
Note the deprecation of this code and point to the new and better RFC6265-compliant net-cookies package.
2015-04-05 08:16:27 -04:00
Jordan Johnson
b23108c4d4 Move 6265 code to separate pkg
* Move all the new cookie code to the net-cookies package
 * Update deprecation notice on net/cookie to point to that package
2015-04-04 14:02:23 -07:00
Jordan Johnson
c3ce72e229 Remove unused exn and example code
* Remove exn:fail:cookie, since I’d rewritten the library code to
avoid using it.
 * Correct docs for cookie-header->alist, to reflect not raising the
exn.
 * Remove needless illustration of date from clear-cookie-header
example.
2015-03-30 13:29:07 -07:00
Jordan Johnson
a01e93b515 Add new RFC6265-compliant cookies/ folder, modules, tests, docs.
* Add new modules, docs, and tests in cookies/
  * Server: parse Cookie header, make cookies, make Set-Cookie header
  * User agent:
   * parse Set-Cookie header
   * save cookies
   * make Cookie header
   * interface for substituting better cookie storage
  * Common functionality: validate cookie parts
 * Add deprecation notice to old cookie lib

Test and validation cleanup
2015-03-28 15:51:01 -07:00
Matthew Flatt
488fda33e4 document new options-put-port and options-impure-port 2015-02-19 10:39:30 -07:00
Matthew Flatt
ed15636bfc document net/unihead 2015-01-29 09:31:01 -07:00
Jay McCarthy
0c96946bdd Removing out-dated WebSocket implementation 2015-01-14 14:27:23 -05:00
Sam Tobin-Hochstadt
678f0e9136 Use the version of this file that just moved into the core. 2014-12-15 02:51:04 -05:00
Matthew Flatt
81b8f8961b document and test #:method argument to http-client-recv! 2014-12-12 09:35:22 -07:00
Sam Tobin-Hochstadt
b579bda4b3 Add standard .gitignore file. 2014-12-06 17:46:31 -05:00
Sam Tobin-Hochstadt
6d99e5b268 Remove extra directories. 2014-12-02 00:13:32 -05:00
Sam Tobin-Hochstadt
7767fe730d Remove stray reference to Racket in LICENSE files.
Related to PR 14842.

original commit: 3bbdd134b1
2014-11-25 14:09:57 -05:00
Matthew Flatt
fdd9631304 net/git-checkout: finish support for "dumb" HTTP(S)
Full dumb-server support is even more useful for testing.

original commit: 37a209b60e
2014-11-23 06:31:01 -07:00
Matthew Flatt
1aee96df7d net/git-checkout: support "dumb" protocol for discovery
Supporting just reference discovery can be useful for certain
testing configurations.

original commit: 04f5fe3815
2014-11-23 06:31:01 -07:00
Kat Lyons
72864cdd93 Fix documentation error in net/sendurl
original commit: f54ea70ae0
2014-10-21 10:17:45 -06:00
Asumu Takikawa
b42b058941 Typo fixes in docs
original commit: d486fa1839
2014-10-20 02:54:03 -04:00
Matthew Flatt
7e762b6694 net/git-checkout: repairs for HTTP(S)
Declare a "git" user agent, and use a secure client context for HTTPS
unless the `GIT_SSL_NO_VERIFY` environment variable is defined.

original commit: ecc1d5dff2
2014-10-18 07:14:50 -05:00
Matthew Flatt
97281eddc6 net/git-checkout: support ref -> ID mapping without download
original commit: 06803e4da7
2014-10-18 07:14:50 -05:00
Matthew Flatt
643fcd20e1 net/git-checkout: support the smart HTTP(S) transport
Git-based hosting services most commonly support the smart HTTPS
protocol, which carries "git://"-format payload in a fairly straightforward
way. (Supporting the dumb protocol looks much more difficult.)

original commit: bbf154ba36
2014-10-18 07:14:50 -05:00
Matthew Flatt
dc696a2385 net/git-checkout: checkout a tree via the "git://" protocol
The `net/git-checkout` library implements enough of `git clone` to
extract a tree from a repository that is accessed via the "git://"
protocol. It doesn't preserve a local clone, and it attempts to
download only the slice of the repository that is needed for the
requested tree (depending on how the tree is referenced).

original commit: babd420293
2014-10-18 07:14:50 -05:00
Robby Findler
fefa1c520a update dns tests based on change at nwu
original commit: ad8b487712
2014-08-21 08:51:26 -05:00
Matthew Flatt
8f1553919f add update-implies to package "info.rkt"s
original commit: eb9cbe20bf
2014-08-14 16:49:53 +01:00
Matthew Flatt
02f968085e net/http-client: don't send a 0-sized chunk that isn't a terminator
original commit: 682c92554f
2014-07-24 16:40:34 +01:00
Scott Bell
33cbe67156 Send a final, empty chunk as required by RFC 2616 in http-conn-send!
original commit: 29922c8a77
2014-07-24 16:39:41 +01:00
Matthew Flatt
8191f8b7ad net/http-client: adjust data-procedure/c contract
Promise more (a `void?` result) and requies less (`any` instead of `any/c`).

original commit: 4aa61744c6
2014-07-11 06:21:33 +01:00
Scott Bell
cb907d7eec Add documentation for data-procedure/c
(Style adjusted by Matthew.)

original commit: ddf0a334a8
2014-07-11 06:20:47 +01:00
Scott Bell
3b984b6566 Allow http-conn-send! to take a procedure as its #:data parameter
original commit: ec0468a1f1
2014-07-09 09:45:15 -04:00
Scott Bell
ab575666ce Add additional tests for HTTP PUT with request body content
original commit: 9bd23a8726
2014-07-09 09:45:15 -04:00
Scott Bell
d86f9cdc4c Make the HTTP request method and body explicit in http-client tests
original commit: 942459dcf1
2014-07-09 09:45:15 -04:00
Matthew Flatt
e1814d5686 net/url: add relative-path->relative-url-string
original commit: e27c51698b
2014-06-02 14:34:22 +01:00
Matthew Flatt
1e1d92d311 net/sendurl: improve docs on encoding in send-url and other functions
original commit: 6d572864d2
2014-05-11 08:35:43 -06:00