<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">In what way do you experience that it
doesn't work with Kallithea?</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Kallithea implements a custom wrapper
around hgweb. Mainly to provide integrated hosting with correct
access control. It is a basic assumption that reads are with GET
and writes are with POST. <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Without being told more about how
httppostargs works / fails (and without spending time
investigating) I would assume that it works fine for users with
write access to repositories.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">A more fine grained separation would
require some refactorings ... and a risk of getting it wrong and
introducing security issues.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">If I remember correctly, the Mercurial
client also has a max limit of how large headers it will send. But
mainly: For most web servers it is possible to adjust the header
limit to work with most repositories. That is apparently also
possible with IIS, even if that is one of your constraints. Does
that not work for you? Else, I would suggest using another web
server, preferably on unix.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">/Mads</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 10/11/21 15:16, Ansis Māliņš wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKFqKXNq4n1dFJqxjudpj1MUy0qWW-vBL9gkq+JTYtXxqVthfw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello. I would really like to use Kallithea, but
there's a deal breaker: Kallithea does not support
httppostargs=true, an almost undocumented setting that switches
Mercurial to sending heads and largefile hashes as POST requests
instead of in headers. I've looked at the source code, and it
seems Kallithea implements it's own version of hgweb. How hard
would it be to add support for httppostargs? I'm willing to put
in the work if I receive some guidance. The extent of my Python
experience is writing Mercurial hooks and simple Discord bots.
<div><br>
</div>
<div>httppostargs:</div>
<div><a
href="https://www.mercurial-scm.org/wiki/HgWebInIisOnWindows#I.27m_getting_an_HTTP_400:_Bad_request_error._What.27s_going_on.3F"
moz-do-not-send="true" class="moz-txt-link-freetext">https://www.mercurial-scm.org/wiki/HgWebInIisOnWindows#I.27m_getting_an_HTTP_400:_Bad_request_error._What.27s_going_on.3F</a><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
kallithea-general mailing list
<a class="moz-txt-link-abbreviated" href="mailto:kallithea-general@sfconservancy.org">kallithea-general@sfconservancy.org</a>
<a class="moz-txt-link-freetext" href="https://lists.sfconservancy.org/mailman/listinfo/kallithea-general">https://lists.sfconservancy.org/mailman/listinfo/kallithea-general</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>