php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53296 Incomplete information on CURLINFO_CONTENT_TYPE
Submitted: 2010-11-12 01:11 UTC Modified: 2010-11-13 04:13 UTC
From: klootspiraal at gmail dot com Assigned: Kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: klootspiraal at gmail dot com
New email:
PHP Version: OS:

 

 [2010-11-12 01:11 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-13 04:13 UTC] 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-13 04:13 UTC] Kalle@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: Kalle
 [2010-11-13 04:13 UTC] Kalle@php.net
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.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=cfb33420f6213b070ed99738a129aad75a335fa2
Log: Fixed bug #53296 (Incomplete information on CURLINFO_CONTENT_TYPE)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 10:00:02 2026 UTC