(bug) bug with files when using getBody method
(bug) request: removed return of port when using getHost method