Jonas Haag
Jonas Haag
Sure, it's an idiomatic pattern -- IIRC it works in Django. (I don't know about tastypie though)
Hm, this is going to be difficult to debug – I was on a train when this happened. I'll see if I can reproduce this next time. To be specific,...
Good news: I can reproduce this all the time. Bad news: There's probably not a lot you can do. With HTTPS: ``` * Trying 23.23.102.58... * TCP_NODELAY set * Connected...
Yeah, probably some internal caching going on, understandably. Though the caching itself doesn't seem the be the problem here, but the side effect of changed headers
OK, having debugged this a bit further, here's my best guess on what's the problem and how to fix this. The cache MITM sets the X-Forwarded-For header to 172.x.x.x for...
Basically, what you've already said. I wonder why you can't modify the load balancer settings, though?
> Perhaps a silly question: couldn't you just use HTTPS to get around this issue? Yeah, there are many ways to get around the issue. I have simply switched to...
@rdegges Fair enough. ident.me is faster for me, and it's more reliable for me, so I'll go with it. As a user I don't care about the underlying architecture. Interesting...
https://code.djangoproject.com/ticket/20057 I won't code up any of this though.
Also, are we giving the numbers in % here or in fraction? To me it looks like the `distribution` and `default_bounds` argument are in [0, 1] but the reported numbers...