Net::HTTP::Spore::Middleware::Header is a middleware that add header on each request. You can specify for exemple a Content-Type to pass. WWW: https://metacpan.org/release/Net-HTTP-Spore-Middleware-Header