Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.4

Bug #2998 Typo
Submitted: 2004-12-21 00:43 UTC
From: jparsons at goforthnet dot com Assigned: mike
Status: Closed Package: HTTP_Download
PHP Version: 4.3.9 OS: any
Roadmaps: (Not assigned)    
Subscription  


 [2004-12-21 00:43 UTC] jparsons at goforthnet dot com
Description: ------------ Line 577 of Download.php has HTTP_DOWNLOAD_E_INVALID_CONTENT_TYPE typed as HTTP_DONWLOAD_E_INVALID_CONTENT_TYPE Reproduce code: --------------- --- Download.php (revision 28) +++ Download.php (working copy) @@ -552,7 +552,7 @@ * (HTTP_DOWNLOAD_E_NO_EXT_MMAGIC) * o mime_content_type() couldn't guess content type or returned * a content type considered to be bogus by setContentType() - * (HTTP_DONWLOAD_E_INVALID_CONTENT_TYPE) + * (HTTP_DOWNLOAD_E_INVALID_CONTENT_TYPE) * * @access public * @return mixed Returns true on success or PEAR_Error on failure. @@ -574,7 +574,7 @@ if (!$content_type = @mime_content_type($this->file)) { return PEAR::raiseError( 'Couldn\'t guess content type with mime_content_type().', - HTTP_DONWLOAD_E_INVALID_CONTENT_TYPE + HTTP_DOWNLOAD_E_INVALID_CONTENT_TYPE ); } return $this->setContentType($content_type);

Comments

 [2004-12-21 12:48 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!