jclouds/jclouds — pull request #641 by aledsage (2012-05-17 23:01:10+00:00)
Title: Issue 647: fix handling of malformed 'Expires' header

Fixes s3 testCreateBlobWithMalformedExpiry live test.

---
I also tried running the test against HP Cloud Objects. The changes had introduced some noisy (benign) warn log messages, such as:

2012-05-17 23:51:41,645 WARN

I therefore (hesitantly) dropped the logging to debug. We're doing what the HTTP 1.1 spec says, so I think that's ok but not great...

---
I tried moving the tests into the base BaseContainerLiveTest, and ran them against HP Cloud Objects. The testCreateBlobWithExpiry failed, with the Expires metadata being null when retrieved.

I haven't investigated that further yet (e.g. whether we'd expect it to work at all with that cloud), and haven't pushed the change to move the tests into the base class.