<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 4, 2015 at 1:25 PM Matt Mackall <<a href="mailto:mpm@selenic.com">mpm@selenic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 2015-06-04 at 15:15 -0500, Martin von Zweigbergk wrote:<br>
> # HG changeset patch<br>
> # User Martin von Zweigbergk <<a href="mailto:martinvonz@google.com" target="_blank">martinvonz@google.com</a>><br>
> # Date 1433439984 25200<br>
> #      Thu Jun 04 10:46:24 2015 -0700<br>
> # Node ID af314daf5f45ebbaa78d370bfc7982767f5fe5ee<br>
> # Parent  c0995cd8ff6fdc44ff20835e005771f08452a353<br>
> hgweb: return 501 instead of 400 on unknown command<br>
><br>
> When an unrecognized command is received, we return a 400 (Bad<br>
> Request), which means that the client is to blame. Since the set of<br>
> valid commands is not fixed, and it may just be a newer client sending<br>
> a new command, it is more fair use 501 (Not Implemented).<br>
<br>
But it's also an error for a client to ever send a command that it<br>
hasn't discovered via capabilities. So the client is indeed to blame?<br></blockquote><div><br></div><div>Oh, I hadn't thought about that. Thanks! (So drop this patch)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Mathematics is the supreme nostalgia of our time.<br>
<br>
</blockquote></div></div>