File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11# This file was generated by setup.py
2- DEF UNAME_SYSNAME = " Windows "
2+ DEF UNAME_SYSNAME = " Linux "
33DEF PY_MAJOR_VERSION = 2
Original file line number Diff line number Diff line change @@ -136,12 +136,14 @@ cdef class PyRequest:
136136 raise Exception (" Invalid element in postData: %s " % (
137137 pyElement))
138138 postData.get().AddElement(postDataElement)
139+ self .GetCefRequest().get().SetPostData(postData)
139140 elif type (pyPostData) == dict :
140141 pyElement = urllib.urlencode(pyPostData)
141142 pyElement = str (pyElement)
142143 postDataElement = CefPostDataElement_Create()
143144 postDataElement.get().SetToBytes(len (pyElement), < char * > pyElement)
144145 postData.get().AddElement(postDataElement)
146+ self .GetCefRequest().get().SetPostData(postData)
145147 else :
146148 raise Exception (" Invalid type of postData, only dict|list allowed" )
147149
You can’t perform that action at this time.
0 commit comments