Skip to content

Commit

Permalink
v0.4.0 — Better header control and some more request parameters
Browse files Browse the repository at this point in the history
- Migrated from setuptools to hatch
- Added a `set_headers` argument to the `Client` constructor for explicitly setting or not setting headers on sessions
- Added `timeout` arguments to the request methods
- Added `allow_redirects` argument to `Client.request()` and `Endpoint.request()`
  • Loading branch information
jwodder committed Dec 15, 2023
1 parent b8328e8 commit 30e68be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
v0.4.0 (in development)
-----------------------
v0.4.0 (2023-12-15)
-------------------
- Migrated from setuptools to hatch
- Added a `set_headers` argument to the `Client` constructor for explicitly
setting or not setting headers on sessions
Expand Down
2 changes: 1 addition & 1 deletion src/ghreq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from typing import TYPE_CHECKING, Any, Literal, overload
import requests

__version__ = "0.4.0.dev1"
__version__ = "0.4.0"
__author__ = "John Thorvald Wodder II"
__author_email__ = "ghreq@varonathe.org"
__license__ = "MIT"
Expand Down

0 comments on commit 30e68be

Please sign in to comment.