My claim is that: $$\int_0^\infty\frac{1}{(1+x^a)(1+x)^2}dx=\frac12$$ regardless of the value of $a$. A couple examples are here and here.
I came across this result while searching cool integrals to evaluate, but I could not tame this one. I know a similar result, that you can find in this answer. It states that: $$\int_0^\infty\frac{1}{(1+x^a)(1+x^2)}dx=\frac{\pi}{4}$$ and it is proved using the substitution $x=\tan u$, however using the same substitution in my integral seems to be pointless. How should one proceed?