Message178743
> On Tue, Jan 1, 2013 at 5:41 AM, Antoine Pitrou wrote:
> > Another possibility would be to allow passing None in values of the
> `headers` dict, in which case the given header wouldn't be send at
> all.
>
> I agree that your solution is more scaling-friendly than the patch I
> originally submitted. But from another perspective, consider how alien
> it is to have to explicitly add keys set to None in the headers to get
> desired behavior.
Well, that is not a common need, is it?
That said, we could indeed have a separate argument "omit_headers"
listing the headers that we don't want to send. |
|
Date |
User |
Action |
Args |
2013-01-01 18:40:11 | pitrou | set | recipients:
+ pitrou, orsenthil, kanzure |
2013-01-01 18:40:10 | pitrou | link | issue16830 messages |
2013-01-01 18:40:10 | pitrou | create | |
|