Pathvariable Request Headers Python