Skip to content

Fix undocumented exceptions and deprecate URLRequired #325

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dosine-staging[bot]
Copy link

@dosine-staging dosine-staging bot commented Feb 4, 2025

This pull request addresses issue psf#6877 by updating the documentation to include previously undocumented exceptions in the Requests library. The following changes have been made:

  1. Documentation Update: Added documentation for various exceptions that were not previously listed, ensuring that users have access to complete information about the exceptions they may encounter.

  2. Deprecation of URLRequired: The URLRequired exception has been deprecated and removed from the codebase, as it was not being raised anywhere. A note has been added to the documentation indicating its deprecation, while maintaining backward compatibility for users who may still rely on it.

These changes improve the clarity and accuracy of the Requests library documentation, helping users to better understand the exceptions that can be raised during usage.


This pull request was co-created with Cosine Genie

Original Task: swe-requests/j1sk7x9nsne1
Author: Sam Stenner

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.

1 participant