Raise ValueError on `Response.encoding` being set after `Response.text` has been accessed (#2852)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Raise ValueError on change encoding * Always raise ValueError for simplicity * update CHANGELOG.md
authored by xzmeng · committed by GitHub · parent e4241c6 · Browse files · 3 files+33 added−0 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+33 added−0 removed
- tests:+17 added−0 removed
- other:+16 added−0 removed