Closed ldng closed 5 years ago
I see my mistake, I should not be trying to modify headers after signing them anyway. So this bug is irrelevant in httpsig usecase (still an CaseInsensitiveDict bug though IMHO)
Ok, I'm confused. I'll let someone else judge the relevancy of the bug.
I should probably use the headers object from the email package here, honestly. It's designed for HTTP headers as well and does the same things I'm expecting. It's just more code to get to the same end.
I might have found a bug. Unless I'm missunderstanding something. If you try to merge an existing normal dict the result is None Tested with Python 3.5.1 :