Nick Martin
448da70a58
Workaround weird header issue in firefox. Fixes #553 .
2013-01-11 18:32:52 -08:00
David Glasser
fd13a9b899
http: Fix incorrect use of self in param encoding.
2013-01-03 14:56:45 -08:00
David Glasser
25af4e5cdb
http: Fix test failure on FF caused by 3bada2a.
2013-01-03 14:56:02 -08:00
David Glasser
3bada2a9f9
If Meteor.http.call JSON-ifies the request body, default the Content-Type to
...
application/json.
This matches our heuristic for deciding whether to parse responses as JSON.
2012-12-28 15:58:41 -08:00
Avital Oliver
7cd4082457
Remove arguably unhelpful check
2012-12-27 01:00:17 -08:00
Tim Haines
b5ae25ac3f
Encode ! and other special characters in params for Meteor.http.call and oauth1 methods
2012-12-27 01:00:17 -08:00
David Glasser
11fe37a007
Wrap mongo_driver.js in anonymous function call.
...
This has the side effect of forcing several other files to pull in the Fiber
symbol explicitly.
2012-11-14 18:15:25 -08:00
David Glasser
4b8a688000
Change some test names to make it easier to search output for failures.
...
We should eventually improve test output in more sophisticated ways (eg,
failures could show up sorted at the top, or be duplicated in a second column),
but this is a simple start.
2012-09-20 12:05:51 -07:00
David Glasser
5e622215ba
Change all publicly documented APIs to use camelCase.
...
For now, the old names still work as well.
This includes:
- Meteor.isServer/isClient
- this.isSimulation in methods
- Context.onInvalidate
- Meteor.status().retryCount/retryTime
Remove old backwards-compatibility "Sky" alias for "Meteor".
Update all examples in the docs to use camelCase.
Delete unused docs/client/projects.html file.
2012-09-17 14:26:45 -07:00
Tom Coleman
e655492f70
Fix problem with content-type on POST requests ( close #172 )
2012-06-05 17:09:29 -07:00
David Greenspan
6a9e8f33cd
comment
2012-06-05 16:52:23 -07:00
David Greenspan
80bef5ea9b
allow semicolon in JSON Content-Type
2012-06-05 16:46:50 -07:00
David Greenspan
a1ec3937fc
break out httpcall timeout test
2012-05-24 20:42:15 -07:00
David Greenspan
0815cc11e9
revert Chrome auth test workaround (Chrome works again; broke IE7)
2012-05-24 20:07:49 -07:00
David Greenspan
ac487445f5
tests don't prompt for auth in Chrome
2012-05-17 12:00:24 -07:00
David Greenspan
201d146816
make test_responder password checker explicit
2012-05-16 13:20:42 -07:00
David Greenspan
7b5990090e
private scope for http tests
2012-05-01 17:00:06 -07:00
David Greenspan
54adb858d0
test_responder -> http_test_responder
2012-05-01 17:00:06 -07:00
David Greenspan
2cbff46b0b
fix http auth test in Firefox
2012-05-01 16:55:56 -07:00
David Greenspan
361f22f124
fix http timeout test for IE caching
2012-04-23 13:12:04 -07:00
Nick Martin
c70c96c628
Change methods on httpcall to be raw data fields. Only parse data as JSON if content-type is set correctly.
2012-04-19 15:39:00 -07:00
Nick Martin
a6da0da862
Add helper functions for common cases.
2012-04-19 15:39:00 -07:00
David Greenspan
2edb152d8a
make tests work in IE 6-10, MobileSafari
2012-04-19 12:18:05 -07:00
David Greenspan
0f2673ff9c
initial commit of HTTP package
2012-04-18 19:43:27 -07:00