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
fix: Accept string payload in the Request constructor (#697)
- This is a follow-up to
#668 (comment).
- Let's accept `payload` as both str and bytes in the `Request.from_url`
constructor.
- The field `Request.payload` has a validator that accepts both. With
this change, we are consistent in the `from_url` constructor as well.
- We do a similar thing for the `Request.headers` as well.
0 commit comments