web-poet icon indicating copy to clipboard operation
web-poet copied to clipboard

add an alternative constructor from_anystr() in HttpRequestBody

Open BurnzZ opened this issue 2 years ago • 0 comments

Stemming off from this PR: https://github.com/scrapinghub/web-poet/pull/22

The main motivation for this is for developers to easily create HttpRequestBody and HttpRequest instances from both bytes and unicode strings.

BurnzZ avatar Apr 05 '22 12:04 BurnzZ