Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove from_bytes_dict() call when deserializing responses #72

Merged
merged 1 commit into from
May 16, 2022

Conversation

BurnzZ
Copy link
Contributor

@BurnzZ BurnzZ commented May 16, 2022

Reference: #67 (comment)

Removing the need for this alternative constructor call since HttpResponseHeaders has been serialized correctly. Calling HttpResponseHeaders.from_bytes_dict(response_data["headers"]) would be redundant.

@codecov
Copy link

codecov bot commented May 16, 2022

Codecov Report

Merging #72 (36df29a) into master (67a788b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files           9        9           
  Lines         372      372           
=======================================
  Hits          357      357           
  Misses         15       15           
Impacted Files Coverage Δ
scrapy_poet/page_input_providers.py 94.00% <ø> (ø)

@BurnzZ BurnzZ merged commit 3ecc174 into master May 16, 2022
@BurnzZ BurnzZ deleted the remove-from_bytes_dict branch May 16, 2022 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant