Revision 2122b285 trunk/Pithos.Network/CloudFilesClient.cs
b/trunk/Pithos.Network/CloudFilesClient.cs | ||
---|---|---|
291 | 291 |
{ |
292 | 292 |
client.Parameters.Clear(); |
293 | 293 |
client.Parameters.Add("format", "json"); |
294 |
//client.IfModifiedSince = since;
|
|
294 |
client.IfModifiedSince = since; |
|
295 | 295 |
|
296 | 296 |
//Extract the username from the base address |
297 |
client.BaseAddress = RootAddressUri.AbsoluteUri; |
|
297 |
client.BaseAddress = RootAddressUri.AbsoluteUri;
|
|
298 | 298 |
|
299 | 299 |
var content = client.DownloadStringWithRetry(@"", 3); |
300 | 300 |
|
... | ... | |
607 | 607 |
|
608 | 608 |
client.Parameters.Clear(); |
609 | 609 |
client.Parameters.Add("format", "json"); |
610 |
//client.IfModifiedSince = since;
|
|
610 |
client.IfModifiedSince = since; |
|
611 | 611 |
var content = client.DownloadStringWithRetry(container, 3); |
612 | 612 |
|
613 | 613 |
client.AssertStatusOK("ListObjects failed"); |
... | ... | |
654 | 654 |
client.Parameters.Clear(); |
655 | 655 |
client.Parameters.Add("format", "json"); |
656 | 656 |
client.Parameters.Add("path", folder); |
657 |
//client.IfModifiedSince = since;
|
|
657 |
client.IfModifiedSince = since; |
|
658 | 658 |
var content = client.DownloadStringWithRetry(container, 3); |
659 | 659 |
client.AssertStatusOK("ListObjects failed"); |
660 | 660 |
|
Also available in: Unified diff