fixed --static-index when methods different from GET/HEAD are in place