Opened 18 years ago
Closed 18 years ago
#8504 closed defect (bug) (fixed)
Incorrect CURL options set in HTTP API
| Reported by: | sambauers | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7 |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | HTTP API, has-patch |
| Cc: | Focuses: |
Description
When making a HEAD request in the HTTP API via CURL the full body is fetched, it should only fetch the head. The attached patch conditionally sets CURLOPT_NOBODY to true.
Also the CURLOPT_RETURNTRANSFER setting is set conditionally then set back to "1" regardless. The attached patch assumes the conditional is doing the right thing.
These changes have been part of BackPress for a while now.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
See [10087]