Contents

Roo

Request.headers (setter)

A quick way to set all of the headers that will be sent with this request using a Hash object.

var h = {"Content-Type" => "gzip"}
var r = Request()
r.headers = h
print(r.content_type) # gzip