eric6/Helpviewer/Network/AboutAccessHandler.py

branch
maintenance
changeset 7286
7eb04391adf7
parent 7226
babe80d84a3e
parent 7285
1ff497f33f31
child 7287
1c17f2191bdd
equal deleted inserted replaced
7226:babe80d84a3e 7286:7eb04391adf7
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2009 - 2019 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing a scheme access handler for about schemes.
8 """
9
10 from __future__ import unicode_literals
11
12 from .SchemeAccessHandler import SchemeAccessHandler
13
14
15 class AboutAccessHandler(SchemeAccessHandler):
16 """
17 Class implementing a scheme access handler for about schemes.
18 """
19 def createRequest(self, op, request, outgoingData=None):
20 """
21 Public method to create a request.
22
23 @param op the operation to be performed
24 (QNetworkAccessManager.Operation)
25 @param request reference to the request object (QNetworkRequest)
26 @param outgoingData reference to an IODevice containing data to be sent
27 (QIODevice)
28 @return reference to the created reply object (QNetworkReply)
29 """
30 from .NetworkProtocolUnknownErrorReply import \
31 NetworkProtocolUnknownErrorReply
32 return NetworkProtocolUnknownErrorReply("about", self.parent())

eric ide

mercurial