Adds path parsing to request