82 else: |
82 else: |
83 return "application/octet-stream" |
83 return "application/octet-stream" |
84 |
84 |
85 def createRequest(self, op, request, outgoingData=None): |
85 def createRequest(self, op, request, outgoingData=None): |
86 """ |
86 """ |
87 Protected method to create a request. |
87 Public method to create a request. |
88 |
88 |
89 @param op the operation to be performed |
89 @param op the operation to be performed |
90 (QNetworkAccessManager.Operation) |
90 (QNetworkAccessManager.Operation) |
91 @param request reference to the request object (QNetworkRequest) |
91 @param request reference to the request object (QNetworkRequest) |
92 @param outgoingData reference to an IODevice containing data to be sent |
92 @param outgoingData reference to an IODevice containing data to be sent |