unosquare / embedio

A tiny, cross-platform, module based web server for .NET
http://unosquare.github.io/embedio
Other
1.46k stars 176 forks source link

Always add WWW-Authenticate header #515

Closed duddo closed 3 years ago

duddo commented 3 years ago

WWWAuthenticate header should be added to the answer, even if it's a 401. This way a browser can show the user/password form.

rdeago commented 3 years ago

Hello @duddo, thanks for the PR. I've created a related issue for completeness.

rdeago commented 3 years ago

Closing because #517 has everything this PR has, plus suggested corrections.

rdeago commented 3 years ago

Reopening because #517 targets another branch. My fault, sorry.

duddo commented 3 years ago

Requested changed resolved.