response: simplify trailers handling
commit558513bdeaac2bd1feb9df46c3ba09616b1be2bf
authorEric Wong <normalperson@yhbt.net>
Sat, 24 Jul 2010 23:43:08 +0000 (24 23:43 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 25 Jul 2010 00:00:33 +0000 (25 00:00 +0000)
tree8dce70f8671af7cecf07880a2cbb5284acff2a6d
parent62621af7c8724f5cc5cc3a6dfcd47eb6654286a5
response: simplify trailers handling

Kcar::Parser#extract_trailers never returns a false/nil
value, so there's no reason to check for it.
lib/kcar/response.rb