When sending a request, in my case a post request, to a rest service my tests fails.
After debugging I found that the rest service has no content-type in the response header. The code is excepting that response.header["Content-Type"] is present so the tests fails with KeyError: 'content-type'
The code responsible for this is on row nummer 1334 of keywords.py.
When sending a request, in my case a post request, to a rest service my tests fails.
After debugging I found that the rest service has no content-type in the response header. The code is excepting that response.header["Content-Type"] is present so the tests fails with KeyError: 'content-type'
The code responsible for this is on row nummer 1334 of keywords.py.
Could this be fixed?