This bug is still an issue for normal use cases, the 360 character limit is causing issues with some repositories. This thread gave me a way to work around it though using that debug parameter you listed showed me which request and header was the problem. In the end I ran my requests through a varnish server stripping cookies out of the response. Maybe ignore cookie headers since they seem to be the offending header line, and probably will be the only one that is. Better solution would probably to raise the maximum length allowed. I've attached the relevant log that shows the problem.
** Attachment added: "HTTP header information for attemptiong to update Firefox." https://bugs.launchpad.net/ubuntu/+source/apt/+bug/26083/+attachment/2719500/+files/apt.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/26083 Title: 'Bad header line' error when trying to use apt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/26083/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs