Re: Advancing the "content negotiation" and "modernising request object" proposals.

2022-11-13 Thread 'st...@jigsawtech.co.uk' via Django developers (Contributions to Django itself)
I also agree with raising a UnsupportedMediaType and having custom handlers for 400, 415 is always useful IMO On Saturday, 12 November 2022 at 12:24:45 UTC Adam Johnson wrote: > I would have a slight preference for raising an UnsupportedMediaType as >> well and letting that percolate to a 415 a

#33981: Squelching stack traces from DisallowedHost / Django's handling of vulnerability scans in production

2022-11-13 Thread Rob Banagale
I'm writing to request support for reconsidering the wontfix of #33981 , which squelches the stack trace resulting from SuspiciousOperation DisallowedHost introduced in #13910 . #33981 should be reconsider