original_string: public function normalizeKey($key)
      {
          $key = strtolower($key);
          $key = str_replace(array('-', '_'), ' ', $key);
          $key = preg_replace('#^http #', '', $key);
          $key = ucwords($key);
          $key = str_replace(' ', '-', $key);
  
          return $key;
      }
code: public function normalizeKey($key)
      {
          $key = strtolower($key);
          $key = str_replace(array('-', '_'), ' ', $key);
          $key = preg_replace('#^http #', '', $key);
          $key = ucwords($key);
          $key = str_replace(' ', '-', $key);
  
          return $key;
      }
code_tokens: public function normalizeKey ( $ key ) { $ key = strtolower ( $ key ) ; $ key = str_replace ( array ( '-' , '_' ) , ' ' , $ key ) ; $ key = preg_replace ( '#^http #' , '' , $ key ) ; $ key = ucwords ( $ key ) ; $ key = str_replace ( ' ' , '-' , $ key ) ; return $ key ; }
docstring: Transform header name into canonical form
  
  @param  string $key
  @return string
docstring_tokens: Transform header name into canonical form