| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2011-11-30 | fix($http): add .send() alias for .retry() to get better stack trace on error | Vojta Jina | |
| 2011-11-30 | refactor($http): change callback matching mechanism | Vojta Jina | |
| 2011-11-30 | fix($http): allow multiple json vulnerability prefixes | Vojta Jina | |
| We strip out both: )]}', )]}' | |||
| 2011-11-30 | feat($http): expose pendingRequests and configuration object | Vojta Jina | |
| - $http.pendingRequests is now an array of pending requests - each request (its future object) has public property configuration | |||
| 2011-11-30 | feat(mocks.$httpBackend): add $httpBackend mock | Vojta Jina | |
| $httpBackend mock allows: - expecting (asserting) requests - stubbing (responding without asserting) Add empty $httpBackend service (currently just wrapper for $browser.xhr) | |||
| 2011-11-30 | feat($http): new $http service, removing $xhr.* | Vojta Jina | |
| Features: - aborting requests - more flexible callbacks (per status code) - custom request headers (per request) - access to response headers - custom transform functions (both request, response) - caching - shortcut methods (get, head, post, put, delete, patch, jsonp) - exposing pendingCount() - setting timeout Breaks Renaming $xhr to $http Breaks Takes one parameter now - configuration object Breaks $xhr.cache removed - use configuration cache: true instead Breaks $xhr.error, $xhr.bulk removed Breaks Callback functions get parameters: response, status, headers Closes #38 Closes #80 Closes #180 Closes #299 Closes #342 Closes #395 Closes #413 Closes #414 Closes #507 | |||
