Vladimir Kaspar

Results 6 comments of Vladimir Kaspar

Generally, the problem is ordering the middlewares in Starlette. https://github.com/encode/starlette/blob/master/starlette/applications.py#L83 ElasticAPM middleware is a "user middleware". The middlewares in Starlette are like wrappers over wrappers. the ordering by response/exception processing...

> > Hi! @sethmlarson @bartier Has there been any progress on this? I am running into The same error. > > Unfortunately it has not been progress yet. I guess...

The suggested solution (2nd arg to `surrogatepass`) is not good for `len()` checking, I would recommend `replace`. ``` a = "\udab4" surrogatepass = a.encode('utf8', "surrogatepass") replace = a.encode('utf8', "replace") print(surrogatepass,...

Hey @sethmlarson, Aiohttp version 3.7.x has been released with the incompatible commit https://github.com/aio-libs/aiohttp/commit/e7e6c2011c0f6d0a1ac3be7a6ced062e443b47fb#diff-b797dd8733928df191ba2061121ab8b69976c185fcbfad4534891d3252b9ac30R100 There is replace of the coroutine function `noop` by class and it causes raising of TypeError at...

Yes, It works. Thank you.

@sethmlarson Any idea how the API of the methods should look?