add types in http.ts
add types in sha1.ts