Scala : HTTP header manipulation