protected void populateObjectMetadata(BCSHttpResponse paramBCSHttpResponse, ObjectMetadata paramObjectMetadata) {
		Map<String, String> header = paramBCSHttpResponse.getHeaders();
		for (String key : header.keySet()) {
			if (key.startsWith("x-bs-meta-")) {
				key = key.substring("x-bs-meta-".length());
				paramObjectMetadata.addUserMetadata(key, header.get(key));
			} else if (key.equals("Last-Modified")) {
				try {
					paramObjectMetadata.setHeader(key, ServiceUtils.parseRfc822Date(header.get(key)));
				} catch (ParseException localParseException) {
					log.warn("Unable to parse last modified date: "+header.get(key)+":"+localParseException);
				}
			} else if (!(ignoredHeaders.contains(key))) {
				paramObjectMetadata.setHeader(key, header.get(key));
			}
		}
	}