Commit 895fb103 authored by Jim Fulton's avatar Jim Fulton

Fixed problem with param name with colon on mp_call

parent a316fcba
...@@ -71,7 +71,7 @@ that allows one to simply make a single web request. ...@@ -71,7 +71,7 @@ that allows one to simply make a single web request.
The module also provides a command-line interface for calling objects. The module also provides a command-line interface for calling objects.
""" """
__version__='$Revision: 1.19 $'[11:-2] __version__='$Revision: 1.20 $'[11:-2]
import sys, regex, socket, mimetools import sys, regex, socket, mimetools
from httplib import HTTP from httplib import HTTP
...@@ -226,6 +226,7 @@ class Function: ...@@ -226,6 +226,7 @@ class Function:
t=type(v) t=type(v)
if special_type(t): d['%s%s' % (k,type2suffix[t])]=v if special_type(t): d['%s%s' % (k,type2suffix[t])]=v
else: d[k]=v else: d[k]=v
else: d[k]=v
rq=[('POST %s HTTP/1.0' % self.rurl),] rq=[('POST %s HTTP/1.0' % self.rurl),]
for n,v in self.headers.items(): for n,v in self.headers.items():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment