Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write-out.d: Use response_code in example #11107

Closed
wants to merge 1 commit into from

Conversation

vitorgalvao
Copy link
Contributor

The documentation for response_code in the manual states (emphasis mine):

The numerical response code that was found in the last transfer (formerly known as "http_code").

This suggests that response_code is preferred over http_code, yet the example uses the latter. Seeing as this code is likely to be one of the most common write-out options someone is looking for, using the newest/recommended name in the example should be more effective in getting people to use it.

@bagder
Copy link
Member

bagder commented May 12, 2023

Thanks!

@bagder bagder closed this in de2542f May 12, 2023
@vitorgalvao vitorgalvao deleted the patch-1 branch May 12, 2023 21:21
bch pushed a commit to bch/curl that referenced this pull request Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants