The sabre/http library provides utilities for dealing with http requests and responses.