processone/tsung — pull request #97 by tisba (2014-08-06 12:51:30+00:00)
Title: Allow all HTTP headers to be overridden by <http_header>

I noticed, that certain headers, like `Content-Type` cannot be set via ``. Although content type can be set using the `content_type` attribute on ``[0], I don't see a good reason, why you should not be able to set it via ``.

`Content-Length` could previously not set at all and was always determined by tsung. For almost all cases this is fine, but I ran into this, because I needed to assess that the server performs correctly, even if the provided content-length is incorrect. Additionally, according to RFC2616, sec 14.13[1], the content type **SHOULD** be provided, but it is not required for methods transferring a message body.

This pull request allows any HTTP header to be set via ``. If you don't provide them, the behavior is expected to be unchanged.

[0]
```xml

```

[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13