Skip to content

basic auth: fix error status 401 vs 407#549

Merged
obnoxxx merged 1 commit intotinyproxy:masterfrom
rofl0r:401_vs_407
Nov 4, 2024
Merged

basic auth: fix error status 401 vs 407#549
obnoxxx merged 1 commit intotinyproxy:masterfrom
rofl0r:401_vs_407

Conversation

@rofl0r
Copy link
Copy Markdown
Contributor

@rofl0r rofl0r commented Jul 15, 2024

if tinyproxy serves as a HTTP server (i.e. when serving stats), use error code 401, else error code 407.

fixes #532

if tinyproxy serves as a HTTP server (i.e. when serving stats),
use error code 401, else error code 407.

fixes tinyproxy#532
Copy link
Copy Markdown
Member

@obnoxxx obnoxxx left a comment

Choose a reason for hiding this comment

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

LGTM

@obnoxxx obnoxxx merged commit 05f6e4e into tinyproxy:master Nov 4, 2024
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.

Response to a failed authentication should be 407 instead of 401

2 participants