implement OPTIONS request