.gitignore, PutFile, request methods and test

Signed-off-by: eggfly <lihaohua90@gmail.com>