Skip to content

Conversation

@KendallHopkins
Copy link

I know this will break backward compatibility but IMO it's very important to force programmers to handle curl errors, instead of passively handling them (via ->error()). It also removes the possible case where a person tries to treat the output of request as an object causing a fatal error to be triggered.

Contribution by Sebastian Alvarez @aseba enabling CURLOPT_VERBOSE
@nickl-
Copy link

nickl- commented Jun 19, 2012

merged at nickl-/curl@8dec78d

nickl- and others added 28 commits June 19, 2012 14:35
Collect response->debug_log if debug is enabled.
Header parsing is optional by default only the response body will be returned.
If headers are chosen both request and response raw headers are kept.
Still only the response is separated and collected in associative array.
Also added User agent composition.
For example, `Access-Control-Allow-Origin:*`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants