-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Describe the bug
Similar to issue #40, the request headers are not converted to a dictionary
To Reproduce
HttpCtrl.Server.Wait For Request
${headers}= Get Request Headers
# Should be a dictionary - returns class http.client.HTTPMessage
${type_string}= Evaluate type($headers)
# The following does not work, due to above:
Dictionary Should Contain Item ${headers} Content-Type application/json
Expected behavior
Quite obvious, return a dictionary instead of the HTTPMessage class
Screenshots
N/A
Desktop (please complete the following information):
- OS: CentOS
- Python Version: 3.9
Additional context
Don't know why, but this problem appeared when I re-installed my system. Before that it worked. Not sure if this works in some combination of versions but not other. Pretty sure I used the same HttpCtrl version (0.3.1) in both cases.