Skip to content

Commit

Permalink
Merge pull request #72 from scrapinghub/remove-from_bytes_dict
Browse files Browse the repository at this point in the history
remove from_bytes_dict() call when deserializing responses
  • Loading branch information
BurnzZ authored May 16, 2022
2 parents 67a788b + 36df29a commit 3ecc174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapy_poet/page_input_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def deserialize(self, data: Any) -> Sequence[Any]:
response_data["url"],
response_data["body"],
status=response_data["status"],
headers=HttpResponseHeaders.from_bytes_dict(response_data["headers"]),
headers=response_data["headers"],
encoding=response_data["_encoding"],
)
for response_data in data
Expand Down

0 comments on commit 3ecc174

Please sign in to comment.