added Input::headers to fetch the HTTP headers