I lost in this proof of Riemann's paper: On the Number of Prime Numbers less than a Given Quantity.
If one now considers the integral $$ \int \frac{(-x)^{s-1}}{e^x-1} dx $$ from $\infty$ to $\infty$ taken in a positive sense around a domain which includes the value 0 but no other point of discontinuity of the integrand in its interior, then this is easily seen to be equal to
$$ (e^{-\pi si}-e^{\pi si}) \int_0^{\infty} \frac{x^{s-1}}{e^x-1}dx $$.