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

wget UA #2208

Merged
merged 7 commits into from Jun 3, 2021
Merged

wget UA #2208

merged 7 commits into from Jun 3, 2021

Conversation

whippit
Copy link
Contributor

@whippit whippit commented May 21, 2021

  • sane default headers in axon.py::Axon::wget
  • plumb --headers and --params switches for storm wget command
  • SYN-2012 SYN-1673

@codecov
Copy link

codecov bot commented May 21, 2021

Codecov Report

Merging #2208 (7ee6346) into master (e42cc63) will decrease coverage by 0.19%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2208      +/-   ##
==========================================
- Coverage   97.25%   97.06%   -0.20%     
==========================================
  Files         159      159              
  Lines       32089    32089              
==========================================
- Hits        31209    31146      -63     
- Misses        880      943      +63     
Flag Coverage Δ
linux 97.06% <ø> (ø)
linux_replay ?
osx ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
synapse/lib/storm.py 98.41% <ø> (-0.37%) ⬇️
synapse/lib/platforms/darwin.py 0.00% <0.00%> (-100.00%) ⬇️
synapse/lib/thisplat.py 58.33% <0.00%> (-8.34%) ⬇️
synapse/tests/utils.py 93.84% <0.00%> (-2.10%) ⬇️
synapse/lib/hiveauth.py 96.19% <0.00%> (-0.73%) ⬇️
synapse/lib/view.py 93.76% <0.00%> (-0.72%) ⬇️
synapse/cortex.py 96.22% <0.00%> (-0.70%) ⬇️
synapse/cryotank.py 92.57% <0.00%> (-0.58%) ⬇️
synapse/lib/link.py 98.87% <0.00%> (-0.57%) ⬇️
synapse/lib/trigger.py 94.11% <0.00%> (-0.43%) ⬇️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e42cc63...7ee6346. Read the comment docs.

synapse/axon.py Outdated
# lower the keys
lheaders = dict((h.lower(), v) for h, v in headers.items())

defheaders = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how would we exclude one of these defaults ( to make it not present rather than have a new value? )

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this kind of logic probably belongs in the command implementation not the library

@whippit whippit merged commit fe9fc1f into master Jun 3, 2021
@vEpiphyte vEpiphyte added this to the v2.42.0 milestone Jun 3, 2021
@vEpiphyte vEpiphyte deleted the wget-ua branch June 3, 2021 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants