Skip to content

Conversation

@Nikita20010
Copy link

Summary

Improved the docs/user/quickstart.rst file by adding a clear example showing how to send custom headers with the requests.get() method.

Why

This enhances the documentation by demonstrating a common real-world use case — sending custom headers in HTTP GET requests.

Example Added

>>> import requests
>>> headers = {'User-Agent': 'CustomClient/1.0'}
>>> r = requests.get('https://api.github.com/events', headers=headers)

@sigmavirus24
Copy link
Contributor

This is already documented

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.

2 participants