Skip to content
Snippets Groups Projects
Commit efbc3288 authored by pavelxdd's avatar pavelxdd Committed by Andy Green
Browse files

http: basic auth: fix delay on Firefox

Firefox sends HTTP requests with "Connection: keep-alive" header.
When LWS responds with 401 and WWW-Authenticate header, Firefox
doesn't show an authentication dialog until connection is closed.
Adding "Content-Length: 0" solves the problem.
parent 22d7f32f
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment