The integral I am trying to solve is $$\int_{0}^{\infty}\frac{x^{r-1}}{1+x^s} \,dx$$ where $0<r<s$ for its exact value.
I have been at this one on and off for a couple weeks now. I have tried inversion substitutions, exponential substitutions, attempted Feynman integration, integration by parts, adding different versions of it together, yet I still can't make any real progress on this. Trig or inverse trig substitutions don't look like they would seem to work. I have tried turning the denominator into an infinite geometric sum, but I don't think I can because of convergence issues. I just feel like I have exhausted all of the methods I know on this and I need some guidance, or a push in the right direction.

Enforcing $x^s\mapsto x$ yields $$\int_0^\infty\frac{x^{r-1}}{1+x^s}\,{\rm d}x\stackrel{x^s\mapsto x}=\frac 1s\int_0^\infty\frac{x^{\frac rs-1}}{1+x}\,{\rm d}x$$ Now, use the Beta Function and Euler's Reflection Formula to obtain $$\frac1s\int_0^\infty\frac{x^{\frac rs-1}}{1+x}\,{\rm d}x=\frac1sB\left(\frac rs,1-\frac rs\right)=\frac1s\frac{\Gamma\left(\frac rs\right)\Gamma\left(1-\frac rs\right)}{\Gamma\left(\frac rs+1-\frac rs\right)}=\frac1s\frac{\pi}{\sin\left(\frac rs\pi\right)}$$ whenever $\frac rs\notin\Bbb Z$. As $0<r<s$ implies $\frac rs<1$ this case does not occur.
Right now I do not if there is simpler way.