original_string: protected function configureHTTPMethod($method) {
          switch($method){
              case self::HTTP_GET:
                  $this->removeHeader('Content-Type');
                  break;
              case self::HTTP_POST:
              case self::HTTP_PUT:
                  $this->addHeader("Content-Type", "multipart/form-data");
          }
          return parent::configureHTTPMethod($method);
      }
code: protected function configureHTTPMethod($method) {
          switch($method){
              case self::HTTP_GET:
                  $this->removeHeader('Content-Type');
                  break;
              case self::HTTP_POST:
              case self::HTTP_PUT:
                  $this->addHeader("Content-Type", "multipart/form-data");
          }
          return parent::configureHTTPMethod($method);
      }
code_tokens: protected function configureHTTPMethod ( $ method ) { switch ( $ method ) { case self :: HTTP_GET : $ this -> removeHeader ( 'Content-Type' ) ; break ; case self :: HTTP_POST : case self :: HTTP_PUT : $ this -> addHeader ( "Content-Type" , "multipart/form-data" ) ; } return parent :: configureHTTPMethod ( $ method ) ; }
docstring: Configure Headers for File Requests based on HTTP Method
  @inheritdoc
docstring_tokens: Configure Headers for File Requests based on HTTP Method