* @throws NumberFormatException
* @see HeaderUtils#copyResponseTransportHeaders(Series, Response)
*/
public static Representation extractEntityHeaders(Iterable<Header> headers,
Representation representation) throws NumberFormatException {
Representation result = (representation == null) ? new EmptyRepresentation()
: representation;
boolean entityHeaderFound = false;
if (headers != null) {
for (Header header : headers) {