To obtain finite temperature correlators in a theory that is conformally invariant it is common to map the Euclidean time into the circle via $\tau\to f(\tau)=\frac{\pi}{\beta}\tan\left(\frac{\pi\tau}{\beta}\right)$. For example, in 1D this maps
$$G(\tau)=\frac{b}{|\tau|^{2\Delta}} \to \mathcal{G}_{\beta}(\tau)=b\left[\frac{\pi}{\sin\left(\frac{\pi\tau}{\beta}\right)}\right]^{2\Delta}$$
On the other hand, in many-body theory it is common to obtain finite temperature propagators from zero temperature euclidean ones by summing over charges,
$$\mathcal{G}_{\beta}(\tau)=\sum\limits_{n\in\mathbb{Z}}(-1)^nG(\tau+n\beta)$$
Where for concreteness here we considered the Fermionic case. Supposing these two procedures agree for a conformal theory, we would have the identity
$$\left[\frac{\pi}{\sin(\pi\theta)}\right]^{2\Delta} = \sum\limits_{n\in\mathbb{Z}}\frac{(-1)^n}{\left|n+\theta\right|^{2\Delta}}$$
Where for convenience we introduced $\theta=\tau/\beta\in[0,1]$. I know that in particular this identity is true for $\Delta=1$, but cannot show for general $\Delta$. In particular I am interested in the cases $0<\Delta<1/2$ and $\Delta>1$.
Could someone either point me towards a reference where this is discussed or help establishing/dismissing this identity?