Show More
@@ -43,6 +43,27 b' class GeventCurlMulti(object):' | |||||
43 | """ |
|
43 | """ | |
44 | Wrapper around pycurl.CurlMulti that integrates it into gevent's event |
|
44 | Wrapper around pycurl.CurlMulti that integrates it into gevent's event | |
45 | loop. |
|
45 | loop. | |
|
46 | ||||
|
47 | Parts of this class are a modified version of code copied from the Tornado | |||
|
48 | Web Server project which is licensed under the Apache License, Version 2.0 | |||
|
49 | (the "License"). To be more specific the code originates from this file: | |||
|
50 | https://github.com/tornadoweb/tornado/blob/stable/tornado/curl_httpclient.py | |||
|
51 | ||||
|
52 | This is the original license header of the origin: | |||
|
53 | ||||
|
54 | Copyright 2009 Facebook | |||
|
55 | ||||
|
56 | Licensed under the Apache License, Version 2.0 (the "License"); you may | |||
|
57 | not use this file except in compliance with the License. You may obtain | |||
|
58 | a copy of the License at | |||
|
59 | ||||
|
60 | http://www.apache.org/licenses/LICENSE-2.0 | |||
|
61 | ||||
|
62 | Unless required by applicable law or agreed to in writing, software | |||
|
63 | distributed under the License is distributed on an "AS IS" BASIS, | |||
|
64 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or | |||
|
65 | implied. See the License for the specific language governing | |||
|
66 | permissions and limitations under the License. | |||
46 | """ |
|
67 | """ | |
47 |
|
68 | |||
48 | def __init__(self, loop=None): |
|
69 | def __init__(self, loop=None): |
General Comments 0
You need to be logged in to leave comments.
Login now