You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In view of #90, we must acknowledge the fact that parsing the contents of a response body may not necessarily be doable correctly without inspecting response headers that indicate the encoding being used, content type, etc. We should remove the following inherent methods:
Body::text
Body::text_async
Body::json
These already have equivalent methods in ResponseExt that can be used instead. This also tightens up the API.
The text was updated successfully, but these errors were encountered:
- Prefix constructor-like functions with `from_` for consistency.
- Remove text-related methods (fixes#142).
- Remove `Bytes` from public API for more stability.
- Prefix constructor-like functions with `from_` for consistency.
- Remove text-related methods (fixes#142).
- Remove `Bytes` from public API for more stability.
In view of #90, we must acknowledge the fact that parsing the contents of a response body may not necessarily be doable correctly without inspecting response headers that indicate the encoding being used, content type, etc. We should remove the following inherent methods:
Body::text
Body::text_async
Body::json
These already have equivalent methods in
ResponseExt
that can be used instead. This also tightens up the API.The text was updated successfully, but these errors were encountered: