jetty / jetty/jetty.project

Return WWW-Authenticate Header in ShutdownHandler

Open
#15,352 6 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Java
Stars
4.1k
Forks
2k
Avg merge
3d 56m
Merged PRs (30d)
48

Description

**12.1.9**

**Make Jetty ShutdownHandler return a correct HTTP-Header on token mismatch. Currently no WWW-Authenticate Header is returned, resulting in the Jetty HTTP-Client to throw an error as the protocol is violated**

Contributor guide

Open the contributing guide

Research direction

Start at Jetty's ShutdownHandler and trace the response produced when the shutdown token does not match. Reproduce the mismatch with the HTTP client, then verify that the response includes a WWW-Authenticate header and the client no longer reports a protocol violation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.