Vladimir Kaspar

Results 3 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,...