We are given the integral:
\[
I = \int_0^1 \frac{\sqrt{1 - x}}{\sqrt{1 + x}} \, dx.
\]
Step 1: Substitution to simplify the integral.
We make the substitution \( x = \sin^2 \theta \), where \( dx = 2 \sin \theta \cos \theta \, d\theta \), and \( \sqrt{1 - x} = \cos \theta \), \( \sqrt{1 + x} = \sqrt{1 + \sin^2 \theta} = \sqrt{1 + \sin^2 \theta} \).
Then the integral becomes:
\[
I = \int_0^1 \frac{\cos \theta}{\sqrt{1 + \sin^2 \theta}} (2 \sin \theta \cos \theta) \, d\theta.
\]
Step 2: Evaluate the definite integral and substitute the limits.
Now the integral can be evaluated using known standard methods, and it is found to simplify to:
\[
I = \frac{\pi}{2} - 1.
\]
Step 3: Conclusion.
Thus, the value of the integral is \( \frac{\pi}{2} - 1 \), and the correct answer is (b).