salilbc / rest-assured

Automatically exported from code.google.com/p/rest-assured
0 stars 0 forks source link

Header format is not conform HTTP spec #222

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a simple test that explicitly sets the Content-Type header: 
  given().with().contentType(ContentType.JSON)
2. Add logging
  log().all()
3. Run test, inspect logging

What is the expected output? What do you see instead?
Expect: Content-Type: application/json
Actual: Content-Type=application/json

What version of the product are you using? On what operating system?
1.7.2

Please provide any additional information below.
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Original issue reported on code.google.com by dvier...@gmail.com on 27 Mar 2013 at 7:44

GoogleCodeExporter commented 9 years ago
What you see in the log is not what's actually sent on the wire, it only 
specifies what's defined in the request specification in REST Assured. The 
documentation indicates this as well.

Original comment by johan.ha...@gmail.com on 27 Mar 2013 at 10:26