Add unapply for  GET,POST,HEAD so can use to pattern match in case statements