Doc #53296 [Opn->Csd]: Incomplete information on CURLINFO_CONTENT_TYPE

From: Date: Sat, 13 Nov 2010 03:13:49 +0000
Subject: Doc #53296 [Opn->Csd]: Incomplete information on CURLINFO_CONTENT_TYPE
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-5522@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53296&edit=1 ID: 53296 Updated by: Kalle@php.net Reported by: klootspiraal at gmail dot com Summary: Incomplete information on CURLINFO_CONTENT_TYPE -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: Kalle Block user comment: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-11-13 04:13:42] kalle@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=305305 Log: Fixed bug #53296 (Incomplete information on CURLINFO_CONTENT_TYPE) ------------------------------------------------------------------------ [2010-11-12 01:11:52] klootspiraal at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.curl-getinfo#Parameters --- The documentation states the following about CURLINFO_CONTENT_TYPE: Content-Type: of downloaded object, ... This might be confusingly worded as the target file itself doesn't need to be downloaded: if CURLOPT_NOBODY is set, the target will not be downloaded because the HEAD request method is used, yet CURLINFO_CONTENT_TYPE is, obviously, available. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=53296&edit=1

« previous php.doc.bugs (#5522) next »