Clapper.Harvest.headers_set_value

### Method

# Clapper Harvestheaders_set_value

since: 0.8

#### Declaration [src]

    void
    clapper_harvest_headers_set_value (
      ClapperHarvest* harvest,
      const gchar* key,
      const GValue* value
    )

#### Description [src]

Set another header in the request headers list using `GValue`.

Setting again the same key will update its value to the new one.

Available since: 0.8

This method is renamed to `clapper_harvest_headers_set()` in language bindings.

#### Parameters

`key`

  Type: `const gchar*`

  A header name.

  The data is owned by the caller of the method.
  The value is a NUL terminated UTF-8 string.

`value`

  Type: `GValue`

  A string `GValue` of header.

  The data is owned by the caller of the method.