Fix trailing junk on http_request resource