This file is indexed.

/usr/share/doc/python-pycurl-doc/html/unimplemented.html is in python-pycurl-doc 7.43.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Unimplemented Options And Constants &mdash; PycURL 7.43.0 documentation</title>
    
    <link rel="stylesheet" href="_static/classic.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '7.43.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="shortcut icon" href="_static/favicon.ico"/>
    <link rel="top" title="PycURL 7.43.0 documentation" href="index.html" />
    <link rel="prev" title="File Handling" href="files.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="files.html" title="File Handling"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">PycURL 7.43.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="unimplemented-options-and-constants">
<h1>Unimplemented Options And Constants<a class="headerlink" href="#unimplemented-options-and-constants" title="Permalink to this headline"></a></h1>
<p>PycURL intentionally does not expose some of the libcurl options and constants.
This document explains libcurl symbols that were omitted from PycURL.</p>
<div class="section" id="data-options">
<h2><code class="docutils literal"><span class="pre">*DATA</span></code> options<a class="headerlink" href="#data-options" title="Permalink to this headline"></a></h2>
<p>In libcurl, the <code class="docutils literal"><span class="pre">*aDATA</span></code> options set <em>client data</em> for various callbacks.
Each callback has a corresponding <code class="docutils literal"><span class="pre">*DATA</span></code> option.</p>
<p>In Python - a language with closures - such options are unnecessary.
For example, the following code invokes an instance&#8217;s <code class="docutils literal"><span class="pre">write</span></code> method
which has full access to its class instance:</p>
<div class="highlight-python"><div class="highlight"><pre>class Writer(object):
    def __init__(self):
        self.foo = True

    def write(chunk):
        # can use self.foo

writer = Writer()
curl = pycurl.Curl()
curl.setopt(curl.WRITEFUNCTION, writer.write)
</pre></div>
</div>
<p>As of version 7.19.3, PycURL does implement three <code class="docutils literal"><span class="pre">*DATA</span></code> options for
convenience:
<code class="docutils literal"><span class="pre">WRITEDATA</span></code>, <code class="docutils literal"><span class="pre">HEADERDATA</span></code> and <code class="docutils literal"><span class="pre">READDATA</span></code>. These are equivalent to
setting the respective callback option with either a <code class="docutils literal"><span class="pre">write</span></code> or <code class="docutils literal"><span class="pre">read</span></code>
method, as appropriate:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="c1"># equivalent pairs:</span>
<span class="n">curl</span><span class="o">.</span><span class="n">setopt</span><span class="p">(</span><span class="n">curl</span><span class="o">.</span><span class="n">WRITEDATA</span><span class="p">,</span> <span class="n">writer</span><span class="p">)</span>
<span class="n">curl</span><span class="o">.</span><span class="n">setopt</span><span class="p">(</span><span class="n">curl</span><span class="o">.</span><span class="n">WRITEFUNCTION</span><span class="p">,</span> <span class="n">writer</span><span class="o">.</span><span class="n">write</span><span class="p">)</span>

<span class="n">curl</span><span class="o">.</span><span class="n">setopt</span><span class="p">(</span><span class="n">curl</span><span class="o">.</span><span class="n">HEADERDATA</span><span class="p">,</span> <span class="n">writer</span><span class="p">)</span>
<span class="n">curl</span><span class="o">.</span><span class="n">setopt</span><span class="p">(</span><span class="n">curl</span><span class="o">.</span><span class="n">HEADERFUNCTION</span><span class="p">,</span> <span class="n">writer</span><span class="o">.</span><span class="n">write</span><span class="p">)</span>

<span class="n">curl</span><span class="o">.</span><span class="n">setopt</span><span class="p">(</span><span class="n">curl</span><span class="o">.</span><span class="n">READDATA</span><span class="p">,</span> <span class="n">reader</span><span class="p">)</span>
<span class="n">curl</span><span class="o">.</span><span class="n">setopt</span><span class="p">(</span><span class="n">curl</span><span class="o">.</span><span class="n">READFUNCTION</span><span class="p">,</span> <span class="n">reader</span><span class="o">.</span><span class="n">read</span><span class="p">)</span>
</pre></div>
</div>
</div>
<div class="section" id="curlinfo-tls-session">
<h2><code class="docutils literal"><span class="pre">CURLINFO_TLS_SESSION</span></code><a class="headerlink" href="#curlinfo-tls-session" title="Permalink to this headline"></a></h2>
<p>It is unclear how the SSL context should be exposed to Python code.
This option can be implemented if it finds a use case.</p>
</div>
<div class="section" id="undocumented-symbols">
<h2>Undocumented symbols<a class="headerlink" href="#undocumented-symbols" title="Permalink to this headline"></a></h2>
<p>Some symbols are present in libcurl&#8217;s <a class="reference external" href="http://curl.haxx.se/libcurl/c/symbols-in-versions.html">symbols in versions</a> document but
are not documented by libcurl. These symbols are not impemented by PycURL.</p>
<p>As of this writing, the following symbols are thusly omitted:</p>
<ul class="simple">
<li><code class="docutils literal"><span class="pre">CURLPAUSE_RECV_CONT</span></code></li>
<li><code class="docutils literal"><span class="pre">CURLPAUSE_SEND_CONT</span></code></li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Unimplemented Options And Constants</a><ul>
<li><a class="reference internal" href="#data-options"><code class="docutils literal"><span class="pre">*DATA</span></code> options</a></li>
<li><a class="reference internal" href="#curlinfo-tls-session"><code class="docutils literal"><span class="pre">CURLINFO_TLS_SESSION</span></code></a></li>
<li><a class="reference internal" href="#undocumented-symbols">Undocumented symbols</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="files.html"
                        title="previous chapter">File Handling</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/unimplemented.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="files.html" title="File Handling"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">PycURL 7.43.0 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &copy; Copyright 2001-2016 Kjetil Jacobsen, Markus F.X.J. Oberhumer, Oleg Pudeyev.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.6.
    </div>
  </body>
</html>