refactor(rest) onPut: rm unused options
refactor(files) add strict