<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 10, 2016 at 9:20 PM, Thomas De Schampheleire <span dir="ltr"><<a href="mailto:patrickdepinguin@gmail.com" target="_blank">patrickdepinguin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Previously, using routes, we received a real POST request with<br>
_method==PUT or _method==DELETE, while with Alessandro's change in<br>
tgext.routes, we receive a real PUT or DELETE request, which is not<br>
what the current code expects.<br></blockquote><div><br></div><div>We can easily change tgext.routes to behave like routes which recovers the previous REQUEST_METHOD -> <a href="https://github.com/bbangert/routes/blob/master/routes/middleware.py#L99">https://github.com/bbangert/routes/blob/master/routes/middleware.py#L99</a></div><div><br></div><div>but I think it actually makes more sense like this as I find it more confusing to have routing that behaves like a DELETE method but if you ask request method it gives something else.</div></div></div></div>