Adding Custom Headers on Python 2.4

44 views
Skip to first unread message

afshin

unread,
Oct 15, 2011, 6:38:57 AM10/15/11
to JSONRPClib (Python)
Hi Guys,

I need to be able to add a custom header to some of my requests. also
I've found the dejw patch that do this, but unfortunately I rely on
python 2.4.3. It seems need python 2.5+. I'll appreciate to know a
workaround for this !

BEST,
-- afshin

afshin

unread,
Oct 16, 2011, 8:20:54 AM10/16/11
to JSONRPClib (Python)
I could manage that by removing contextlib package and modifying
_additional_headers function.
Reply all
Reply to author
Forward
0 new messages