The Trunk: Network-jcg.35.mcz
<commits <at> source.squeak.org>
2009-09-01 07:47:08 GMT
Joshua Gargus uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-jcg.35.mcz
==================== Summary ====================
Name: Network-jcg.35
Author: jcg
Time: 1 September 2009, 12:46:48 pm
UUID: 03bb9532-5287-40b1-bb29-ea33c8c3d4fd
Ancestors: Network-ar.34
Use 'foo base64Encoded' instead of '(Base64MimeConverter mimeEncode: foo readStream) contents'.
=============== Diff against Network-ar.34 ===============
Item was changed:
----- Method: HTTPSocket class>>httpPost:args:user:passwd: (in category 'get the page') -----
httpPost: url args: args user: user passwd: passwd
| authorization |
+ authorization := (user , ':' , passwd) base64Encoded.
- authorization := (Base64MimeConverter mimeEncode: (user , ':' , passwd) readStream) contents.
^self
httpPostDocument: url args: args accept: '*/*'
request: 'Authorization: Basic ' , authorization , CrLf!
Item was changed:
----- Method: HTTPSocket class>>proxyUser:password: (in category 'proxy settings') -----
proxyUser: userName password: password
"Store HTTP 1.0 basic authentication credentials
Note: this is an ugly hack that stores your password
(Continue reading)