In a physics related context I've been trying to solve the following two integrals:
(i) $$ \text{int}_1 = \int_{-\infty}^\infty \csc\left( \frac{\pi+2 i z}{2 \sqrt{2} } \right) \text{sech}^2(z) \,dz $$
(ii) $$ \text{int}_2 = \int_{-\infty}^\infty \frac{\csc\left( \frac{\pi+2 i z}{2 \sqrt{2} } \right) \text{sech}^2(z)}{\pi + 2 i z} \,dz $$
My strategy to solve them was to expand $\csc(a+bz)$ and/or $\text{sech}^2(z)$ using Mittag-Lefflers-theorem and then to swap the order of integration and summation. Unfortunately, I don't see any way to simplify anything in those expressions and the product of the two series is quite nasty as well (does it even converge?). Maybe one can use the fact that only the real parts are even and therefore non-vanishing for the bounds of integration.
Do you have any other strategy to solve those integrals or an idea how to use the approach that I tried?