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

feat(server): handle head method #5003

Merged
merged 6 commits into from
Feb 28, 2023
Merged

feat(server): handle head method #5003

merged 6 commits into from
Feb 28, 2023

Conversation

james-d-elliott
Copy link
Member

This implements some HEAD method handlers for various static resources and the /api/health endpoint.

@authelia
Copy link

authelia bot commented Feb 28, 2023

Artifacts

These changes are published for testing on Buildkite, DockerHub and GitHub Container Registry.

Docker Container

  • docker pull authelia/authelia:feat-head-resp
  • docker pull ghcr.io/authelia/authelia:feat-head-resp

@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Merging #5003 (9370271) into master (f68e5cf) will increase coverage by 0.29%.
The diff coverage is 69.33%.

❗ Current head 9370271 differs from pull request most recent head 3f20e54. Consider uploading reports for the commit 3f20e54 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5003      +/-   ##
==========================================
+ Coverage   68.22%   68.51%   +0.29%     
==========================================
  Files         283      283              
  Lines       20914    20958      +44     
  Branches      443      443              
==========================================
+ Hits        14268    14359      +91     
+ Misses       5875     5823      -52     
- Partials      771      776       +5     
Flag Coverage Δ
backend 68.96% <69.33%> (+0.31%) ⬆️
frontend 63.20% <ø> (+0.04%) ⬆️

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

Impacted Files Coverage Δ
internal/handlers/handler_oidc_wellknown.go 5.55% <0.00%> (-22.23%) ⬇️
internal/server/template.go 60.90% <55.26%> (+16.82%) ⬆️
internal/server/asset.go 69.71% <73.33%> (-0.04%) ⬇️
internal/server/handlers.go 93.13% <100.00%> (+6.97%) ⬆️
internal/handlers/handler_status.go 25.00% <0.00%> (-75.00%) ⬇️
web/src/services/SignOut.ts 100.00% <0.00%> (+14.28%) ⬆️

This implements some HEAD method handlers for various static resources and the /api/health endpoint.
@james-d-elliott james-d-elliott merged commit a345490 into master Feb 28, 2023
@james-d-elliott james-d-elliott deleted the feat-head-resp branch February 28, 2023 09:01
@james-d-elliott james-d-elliott added this to the v4.38.0 milestone Aug 2, 2023
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.

None yet

1 participant