100-continue and 401
Dmitry Petrov
dmitry.petroff at gmail.com
Wed Mar 20 09:12:11 UTC 2013
Hi Luka,
There was a post about similar problem on nginx forum with reply from Igor:
http://forum.nginx.org/read.php?2,212533,212549#msg-212549
On Wed, Mar 20, 2013 at 12:44 PM, Luka Perkov <nginx at lukaperkov.net> wrote:
> Hi Vladimir,
>
> On Tue, Mar 19, 2013 at 07:36:07PM +0400, Vladimir Shebordaev wrote:
> > Both requests do look basically correct just like the nginx's and
> > curl's behavior. You didn't supply any credentials for
> > authentication to continue.
>
> I know I didn't. That is the example test, if my SCGI daemon gets
> request without username and password it will reply to nginx with this:
>
> Status: 401 Unauthorized
> WWW-Authenticate: Basic realm="bla-bla-bla"
>
> Then nginx will pass that to the client. The problem is that nginx sends
> "100 Continue" first. I think that my SCGI code is correct, I'm not sure
> if nginx should send "100 Continue" before "401 Unauthorized".
>
> My guess is that the same will happen using CGI, FastCGI, uWSGI or when
> using any upstream server. Somebody correct me if I'm wrong.
>
> Luka
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
--
Regards,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130320/91e21608/attachment.html>
More information about the nginx-devel
mailing list