I Believe that I have the optimal solution, using the fact that: $$\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\sqrt{2}}}=\int_{0}^{\pi/2}\frac{\cos(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}=\int_{0}^{\pi/2}\frac{\sin(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}$$
and the noticing that
$$\int_{0}^{\pi/2}\frac{\cos(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}+\int_{0}^{\pi/2}\frac{\sin(x)^{\sqrt{2}}}{\sin(x)^{\sqrt{2}}+\cos(x)^{\sqrt{2}}}=\pi/2.$$
These together imply that the solution is $\pi/4$.
remark: the $\sqrt{2}$ is unimportant, for the more general $\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\alpha}}$, my solution is invariant for any $\alpha \in {\mathbb{R}^{+}}$.
However, had I been given $$\int_{0}^{\pi/2}\frac{1}{1+\tan(x)}$$ I maybe would have actually attempted a solution by more standard methods, in order to find a closed expression for the integral. My method does not give a closed form, does anyone know a way to find one?
I was given a possible alternative route: Let $$F(\alpha)=\int_{0}^{\pi/2}\frac{1}{1+\tan(x)^{\alpha}},$$
and to differentiate with respect to $\alpha$, yet I'm not sure why this is helpful or how that kind of method "goes."