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

Removed double Content-Type workaround #41

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

q-nk
Copy link
Contributor

@q-nk q-nk commented Oct 10, 2023

By fixing the bug that the HTTP header Content-Type is sent twice for the /system/update API call the corresponding workaround plus its mention in the README file, can be removed.

This closes #40

@q-nk q-nk requested a review from robin-nitrokey October 10, 2023 14:48
@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (4e4bdfe) 79.89% compared to head (d2bf9fd) 79.90%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   79.89%   79.90%   +0.01%     
==========================================
  Files         782      782              
  Lines       13690    13690              
==========================================
+ Hits        10937    10939       +2     
+ Misses       2753     2751       -2     
Files Coverage Δ
nethsm/__init__.py 76.53% <100.00%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@q-nk q-nk force-pushed the fix_double_content_type_workaround branch from c7a169e to d2bf9fd Compare October 12, 2023 11:02
@q-nk q-nk merged commit 23967e5 into main Oct 12, 2023
@robin-nitrokey robin-nitrokey deleted the fix_double_content_type_workaround branch July 16, 2024 10:12
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.

remove workaround for content type during software update
2 participants