Commit graph

122 commits

Author SHA1 Message Date
mark_story
9c1516e6a8 Fixing calltime pass by reference deprecation warnings. 2010-12-18 15:52:23 -05:00
Juan Basso
754c9b2c3d Updated to HttpSocket, HttpResponse and CakeSocket use SocketException. 2010-12-15 02:01:00 -02:00
Juan Basso
c0e2f63f7d Merge with 2.0-http. 2010-12-15 01:58:21 -02:00
Juan Basso
296aef2c11 Removed the import. It is called in request. 2010-12-14 11:13:44 -02:00
Juan Basso
2cbece6784 Removed the lineBreak attribute, this is fixed in RFC. 2010-12-14 11:11:36 -02:00
Juan Basso
cf7aae7911 Removed parseHeader from HttpSocket (it was not used). Moved the tests of parseHeader to HttpResponse. 2010-12-14 11:05:37 -02:00
Juan Basso
2f64afe44e Allowing the user change the response class. 2010-12-14 02:46:31 -02:00
Juan Basso
176da15417 Moved the response methods from HttpSocket to HttpResponse. 2010-12-14 02:22:30 -02:00
Juan Basso
60a9d34027 Updated the HttpSocket to use the new HttpResponse. 2010-12-14 01:07:25 -02:00
Juan Basso
c20b5d7053 Renamed setAuthConfig to configAuth, and setProxyConfig to configProxy. 2010-12-12 23:48:04 -02:00
Juan Basso
d332f0624f Making the cookies independent for each host. 2010-12-11 16:49:19 -02:00
Juan Basso
eeafb55d31 Support to download requests. 2010-12-11 14:44:45 -02:00
Juan Basso
453c5364c2 Putting the auth and proxy data in request attribute after request. 2010-12-10 10:44:28 -02:00
Juan Basso
bcacace061 Updating docs. 2010-12-06 12:04:00 -02:00
Juan Basso
7c23d289e0 Minor optimizations. 2010-12-06 12:03:22 -02:00
Juan Basso
d656bdae3b Renamed proxy method and calling togheter from host config. 2010-12-06 11:28:40 -02:00
Juan Basso
30a70b700b HttpSocket::_configUri() always change config attribute and it is public. This function dont need return it. 2010-12-06 04:04:37 -02:00
Juan Basso
33bb253dfa Minor optimization in HttpSocket::reset(). 2010-12-06 03:56:16 -02:00
Juan Basso
151ea2804f Default value to raw key, avoiding warnings if line is false. 2010-12-06 03:23:09 -02:00
Juan Basso
97fe32f87c Request return a pointer to body. It will reduce the memory usage in big responses. 2010-12-05 23:36:28 -02:00
Juan Basso
c52d5320c8 Replaced the *printf with i18n aliases by i18n aliases with params. 2010-12-04 23:37:13 -02:00
Juan Basso
3f910dc6c1 Formatting 2010-12-04 00:58:49 -02:00
Juan Basso
874a1172a1 Cleaning auth and proxy configuration in full reset. 2010-12-03 23:13:49 -02:00
Juan Basso
075bdebebe Moved the proxy configuration from request to class attribute. 2010-12-03 23:10:07 -02:00
Juan Basso
4325e67163 Fixing setAuthConfig to accept false as param to remove auth config. Tests added. 2010-12-03 01:30:03 -02:00
Juan Basso
cd24aca39d Removing auth key from request and putting this as attribute. 2010-12-03 00:46:11 -02:00
Juan Basso
64dcca61ef Throw exception when authentication class dont support authentication/proxyAuthentication method. 2010-12-01 13:49:03 -02:00
Juan Basso
b9010b05f2 Support to proxy in HttpSocket. 2010-12-01 13:46:13 -02:00
Juan Basso
634d686288 Merge branch '2.0' into 2.0-http 2010-12-01 11:49:26 -02:00
Juan Basso
547f48fb03 Changing to be compatible with PHP 5.2+ 2010-11-26 23:00:26 -02:00
mark_story
845edf38e1 Removing core classes using App::import() with an array(). This usage incurs an additional call to App::import().
Removing Set from core class imports, as Set is required as part of the framework bootstrapping.
2010-11-25 22:51:30 -05:00
Juan Basso
3056fbf680 Changing authentication classes to use suffix Authentication instead of Method. 2010-11-20 17:47:35 -02:00
Juan Basso
85607a9963 Removed interference in the name of the headers. 2010-11-13 21:44:11 -02:00
Juan Basso
1d56625f3a If method is false, dont send the authentication. Fixed throw message. 2010-11-13 17:22:16 -02:00
Juan Basso
1dfd3ce0b1 Changing the auth value only if auth not is setted. 2010-11-13 13:40:00 -02:00
mark_story
18bb5f6b8b Removing =& operators for construction of objects. 2010-11-12 23:05:44 -05:00
Juan Basso
777afb6d3e separeted auth from HttpSocket. Refs #880 2010-11-09 23:09:56 -02:00
Juan Basso
ef2a7d4608 Replaced trigger_error by throw Exception. 2010-11-09 21:28:11 -02:00
Juan Basso
8a4faa1e69 Updated doc to avoid E_STRICT messages. 2010-11-09 21:12:40 -02:00
Juan Basso
c6dd77de6f Removed unsed attribute. 2010-11-09 21:04:52 -02:00
mark_story
f847080cbf Changing more php version strings. 2010-10-03 12:46:03 -04:00
mark_story
d38857095a Merge branch '1.3' into 2.0
Conflicts:
	cake/libs/model/model.php
	cake/libs/validation.php
	cake/libs/view/helpers/ajax.php
	cake/tests/cases/libs/controller/components/session.test.php
2010-07-24 22:34:42 -04:00
Juan Basso
5b7b2d074e Putting the port in header Host, following RFC 2616 item 14.23. Fixes #947. 2010-07-23 00:13:19 -03:00
mark_story
103346155f Fixing HttpSocket losing auth credentials when multiple requests are made with the same object. Fixes #893 2010-07-06 22:30:48 -04:00
mark_story
929bb5769e Merge branch '1.3' into 2.0
Conflicts:
	app/webroot/index.php
	cake/console/templates/skel/webroot/index.php
	cake/libs/cake_session.php
	cake/libs/controller/components/email.php
	cake/libs/controller/scaffold.php
	cake/libs/model/datasources/dbo/dbo_oracle.php
	cake/libs/model/model_behavior.php
	cake/libs/view/pages/home.ctp
	cake/tests/cases/libs/controller/components/acl.test.php
	cake/tests/cases/libs/file.test.php
2010-06-26 12:29:20 -04:00
Juan Basso
9bbaf153f7 Setting cookies in a single line. Fixes #48 2010-06-23 00:10:21 -03:00
predominant
8f880731c6 Removing closing PHP tags. 2010-05-11 08:27:28 +10:00
predominant
1ec220dac2 Removing closing PHP tags. 2010-05-11 08:07:49 +10:00
predominant
6bd9f0f05b Convert models, datasources and file/folders to new version of translation shortcut function. 2010-04-16 02:00:25 +10:00
predominant
50a547167b Changing protected methods to specify protected access. 2010-04-05 13:21:28 +10:00