changeset 17456 | 59a168019255 |
parent 16687 | e34106fa0dc3 |
child 18352 | e33b9b92a200 |
--- a/mercurial/hgweb/common.py Wed Sep 05 23:58:43 2012 +0900 +++ b/mercurial/hgweb/common.py Wed Sep 05 23:59:27 2012 +0900 @@ -48,7 +48,7 @@ # and replayed scheme = req.env.get('wsgi.url_scheme') if hgweb.configbool('web', 'push_ssl', True) and scheme != 'https': - raise ErrorResponse(HTTP_OK, 'ssl required') + raise ErrorResponse(HTTP_FORBIDDEN, 'ssl required') deny = hgweb.configlist('web', 'deny_push') if deny and (not user or deny == ['*'] or user in deny):