Open GoogleCodeExporter opened 9 years ago
Original comment by johan.ha...@gmail.com
on 14 May 2013 at 7:04
Issue 341 has been merged into this issue.
Original comment by johan.ha...@gmail.com
on 5 Jul 2014 at 5:08
This feature is much needed. We need to support requests without content type
header in our product and we need to be able to test it. In addition, being
Rest Assured a test library, it should have the ability to send requests
without certain headers just to check the behavior of your poduct in such
scenario.
Original comment by agusti.s...@gmail.com
on 25 Jan 2015 at 12:22
Finally someone agree with me :)
Original comment by Janiszew...@gmail.com
on 25 Jan 2015 at 12:32
I definitely agree that it should be possible. It just haven't been a priority
to implement since it's a pretty small corner case. Don't know how much effort
that may go in to fix it. I'm on parental leave right now so pull requests are
very welcome.
Original comment by johan.ha...@gmail.com
on 25 Jan 2015 at 5:46
What I noticed in my case (I'm using version 1.7.1) is that, if no content-type
is specified, Rest Assured tries to guess it and adds a content-type header.
But the guessing is wrong as it guessed "text/plain" when it actually was a
JSON payload.
I would add an option to disable content-type guessing altogether. If the user
hasn't specified any content type header, no content-type header should be sent
at all.
I'll work on that in a fork and let you know what I get.
Original comment by agusti.s...@gmail.com
on 26 Jan 2015 at 10:15
I don't know if it's part of this same issue, but I'd like to be able to
suppress the Content-Length header. Should I request that as a separate issue?
Original comment by todd...@gmail.com
on 25 Mar 2015 at 8:46
Original issue reported on code.google.com by
jmeri...@innoventsolutions.com
on 16 Apr 2013 at 11:06