method set_header key value =
    call_method_void sv "header" [sv_of_string key; sv_of_string value]