Revision 59c8aea4 src/gr/grnet/pithos/web/client/foldertree/File.java
b/src/gr/grnet/pithos/web/client/foldertree/File.java | ||
---|---|---|
225 | 225 |
private void populate(String _owner, Response response) { |
226 | 226 |
this.owner = _owner; |
227 | 227 |
for (Header h : response.getHeaders()) { |
228 |
if (h == null) |
|
229 |
continue; //IE bug. h cannot be null in the general case |
|
228 | 230 |
String header = h.getName(); |
229 | 231 |
if (header.startsWith("X-Object-Meta-")) |
230 | 232 |
meta.put(URL.decodePathSegment(header.substring("X-Object-Meta-".length())), URL.decodePathSegment(h.getValue())); |
Also available in: Unified diff