mfazliazran / raft

Automatically exported from code.google.com/p/raft
GNU General Public License v3.0
0 stars 0 forks source link

Requester Not Supporting Custom Verbs (TRACE) #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to the Requester Tab and then the Request tab
2. Instead of one of the defined methods replace with valid TRACE request

What is the expected output? What do you see instead?

Subclassed QNetworkAccessManager has an AttributeError complaining that there 
is no attribute CustomVerbAttribute

--- stack trace ---

--->FIX ME:
Traceback (most recent call last):
  File "/Users/nathan/Development/raft/core/network/StandardNetworkAccessManager.py", line 53, in createRequest
    QNetworkAccessManager.createRequest(self, operation, request, outgoingData), self)
  File "/Users/nathan/Development/raft/core/network/StoreNetworkReply.py", line 50, in __init__
    self.__populate_request_info(operation, cookieJar)
  File "/Users/nathan/Development/raft/core/network/StoreNetworkReply.py", line 70, in __populate_request_info
    self.method = self.__translate_operation(operation)
  File "/Users/nathan/Development/raft/core/network/StoreNetworkReply.py", line 131, in __translate_operation
    return str(self.__request.attribute(QNetworkAccessManager.CustomVerbAttribute).toString())
AttributeError: type object 'QNetworkAccessManager' has no attribute 
'CustomVerbAttribute'

('ignoring', 301)

---

Original issue reported on code.google.com by nham...@gmail.com on 6 Sep 2011 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by gfleisch...@gmail.com on 5 Jul 2013 at 1:28

GoogleCodeExporter commented 9 years ago
Fixed in RAFT 3. 

This was dependent on version of QT being used.

Original comment by gfleisch...@gmail.com on 27 Jul 2013 at 8:52