summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2018-06-02 00:30:58 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2018-06-02 00:30:58 -0400
commitbbebfe3054b4507c826bfa057f9ae0ad827c2c1b (patch)
tree79ad26c39f4e71b99a150d7024b8d92792c3234d
parent85a1a865e82efaf3032e9b13fee917947f529499 (diff)
downloadpycurl-bbebfe3054b4507c826bfa057f9ae0ad827c2c1b.tar.gz
Remove www dir, this has not been used in a couple of years
-rw-r--r--www/htdocs/.htaccess54
-rw-r--r--www/htdocs/doc/.htaccess24
-rw-r--r--www/htdocs/download/.htaccess22
-rw-r--r--www/htdocs/download/.keep0
-rw-r--r--www/htdocs/index.php238
-rw-r--r--www/htdocs/redirect.html8
-rw-r--r--www/htdocs/tests/.htaccess15
-rw-r--r--www/htdocs/tests/403_FORBIDDEN0
-rw-r--r--www/htdocs/tests/testfileupload.php23
-rw-r--r--www/htdocs/tests/testgetvars.php14
-rw-r--r--www/htdocs/tests/testphpself.php7
-rw-r--r--www/htdocs/tests/testpostvars.php20
-rw-r--r--www/htdocs/tests/teststaticpage.html1
-rw-r--r--www/upload/.keep0
14 files changed, 0 insertions, 426 deletions
diff --git a/www/htdocs/.htaccess b/www/htdocs/.htaccess
deleted file mode 100644
index 802f383..0000000
--- a/www/htdocs/.htaccess
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# vi:ts=4:et:nowrap
-#
-#
-# apache 1.3.x
-#
-# global settings for the pycurl.sourceforge.net webspace - these are
-# inherited by subdirectories
-#
-
-
-# /***********************************************************************
-# // Module core
-# // permissions needed: ???
-# ************************************************************************/
-
-# Turn off MultiViews, or else mod_negotiation will try to opendir()
-# the directory and fail, and any Redirect below will not get reached.
-#
-# Also turn off Indexes, they will be re-enabled in the relevant subtrees.
-Options -Indexes -MultiViews
-
-
-# Redirects for paths that no longer exist
-Redirect /release-notes.html /doc/release-notes.html
-
-
-# /***********************************************************************
-# // Module mod_autoindex
-# // permissions needed: AllowOverride Indexes
-# //
-# // note that indexing is disabled by default ("Options -Indexes" above)
-# // and has to be re-enabled in subdirs by putting a
-# // "Options +Indexes" in their .htaccess
-# ************************************************************************/
-
-<IfModule mod_autoindex.c>
- IndexOptions NameWidth=*
- IndexOptions DescriptionWidth=*
-
- IndexIgnore .??* favicon.ico
- IndexIgnore Attic
-</IfModule>
-
-
-# /***********************************************************************
-# // PHP
-# // permissions needed: AllowOverride Options
-# ************************************************************************/
-
-php_value allow_url_fopen 0
-php_value file_uploads 0
-php_value register_globals 0
-
diff --git a/www/htdocs/doc/.htaccess b/www/htdocs/doc/.htaccess
deleted file mode 100644
index 4a158ca..0000000
--- a/www/htdocs/doc/.htaccess
+++ /dev/null
@@ -1,24 +0,0 @@
-# /***********************************************************************
-# // Module core
-# // permissions needed: ???
-# ************************************************************************/
-
-Options +Indexes
-
-
-# /***********************************************************************
-# // Module mod_autoindex
-# // permissions needed: AllowOverride Indexes
-# ************************************************************************/
-
-## IndexOrderDefault Descending Date
-
-
-# /***********************************************************************
-# // Module mod_dir
-# // permissions needed: AllowOverride Indexes
-# ************************************************************************/
-
-## DirectoryIndex pycurl.html
-
-
diff --git a/www/htdocs/download/.htaccess b/www/htdocs/download/.htaccess
deleted file mode 100644
index 209b778..0000000
--- a/www/htdocs/download/.htaccess
+++ /dev/null
@@ -1,22 +0,0 @@
-# /***********************************************************************
-# // Module core
-# // permissions needed: ???
-# ************************************************************************/
-
-Options +Indexes
-
-
-# /***********************************************************************
-# // Module mod_autoindex
-# // permissions needed: AllowOverride Indexes
-# ************************************************************************/
-
-##IndexOrderDefault Descending Date
-
-##AddDescription "precompiled win32 installer" .exe
-##AddDescription "pre-release version" pycurl-ssl-7.11.3-pre
-##AddDescription "pre-release version" pycurl-7.11.3-pre
-AddDescription "precompiled win32 installer (with SSL, zlib, ARES &amp; libidn)" pycurl-ssl-7.13.2.win32
-AddDescription "precompiled win32 installer (basic)" pycurl-7.13.2.win32
-AddDescription " " .gz
-
diff --git a/www/htdocs/download/.keep b/www/htdocs/download/.keep
deleted file mode 100644
index e69de29..0000000
--- a/www/htdocs/download/.keep
+++ /dev/null
diff --git a/www/htdocs/index.php b/www/htdocs/index.php
deleted file mode 100644
index 2cc9560..0000000
--- a/www/htdocs/index.php
+++ /dev/null
@@ -1,238 +0,0 @@
-<?php // vi:ts=4:et
-
-header('Location: http://pycurl.io/', true, 301);
-exit;
-
-echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n";
-$version = "7.21.5";
-$version_date = "Jan 5 2016"
-?>
-
-<!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>
- <title>PycURL Home Page</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <meta name="author" content="Kjetil Jacobsen, Markus F.X.J. Oberhumer" />
- <meta name="description" content="PycURL Homepage" />
- <meta name="keywords" content="pycurl, curl, libcurl, python, wget, file transfer, urllib" />
- <meta name="revisit-after" content="30 days" />
- <meta name="robots" content="archive, index, follow" />
-</head>
-
-
-<body text="#000000" bgcolor="#ffffff" link="#0000ee" vlink="#551a8b" alink="#0000ee">
-
-<center>
- <a href="https://curl.haxx.se/libcurl/"><img src="https://curl.haxx.se/ds-libcurl.jpg" width="466" height="181" border="0" alt="libcurl"></img></a>
-</center>
-
-<center>
- <br />
- <b><font size="+3" face="Courier New, Courier, mono">PYCURL <?php echo $version; ?></font></b><br />
- <?php echo $version_date; ?> -
- <a href='doc/release-notes.html'>Release Notes</a>
- <br />
-</center>
-
-<h2>Quick Links</h2>
-
-<ul>
- <li><a href="/doc/index.html">PycURL documentation</a></li>
- <li><a href="https://curl.haxx.se/libcurl/c/">libcurl documentation</a></li>
- <li><a href="http://cool.haxx.se/mailman/listinfo/curl-and-python">Mailing list</a></li>
- <li><a href="https://curl.haxx.se/mail/list.cgi?list=curl-and-python">Mailing list archives</a></li>
-</ul>
-
-
-<h2>Overview</h2>
-
-<p>
-PycURL is a
-<a href="http://www.python.org/">Python</a> interface to
-<a href="https://curl.haxx.se/libcurl/">libcurl</a>.
-PycURL can be used to fetch objects identified by a URL
-from a Python program, similar to the
-<a href="http://www.python.org/doc/current/lib/module-urllib.html">urllib</a> Python module.
-PycURL is mature, very fast, and supports a lot of features.
-</p>
-
-
-<ul>
- <li>
- libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3 and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer resume, http proxy tunneling and more!
- <br />
- <br />
- </li>
- <li>
- libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...
- <br />
- <br />
- </li>
- <li>
- libcurl is
- <a href="https://curl.haxx.se/docs/copyright.html">free</a>,
- <a href="https://curl.haxx.se/libcurl/features.html#thread">thread-safe</a>,
- <a href="https://curl.haxx.se/libcurl/features.html#ipv6">IPv6 compatible</a>,
- <a href="https://curl.haxx.se/libcurl/features.html#features">feature rich</a>,
- <a href="https://curl.haxx.se/libcurl/features.html#support">well supported</a>,
- <a href="https://curl.haxx.se/libcurl/features.html#fast">fast</a>,
- <a href="https://curl.haxx.se/libcurl/features.html#docs">thoroughly documented</a>
- and is already used by many known, big and successful <a href="https://curl.haxx.se/docs/companies.html">companies</a>
- and numerous <a href="https://curl.haxx.se/libcurl/using/apps.html">applications</a>.
- </li>
-
-</ul>
-
-
-<h2>Intended Audience</h2>
-
-<p>
-PycURL is targeted at an advanced developer - if you need dozens of
-concurrent, fast and reliable connections or any of the sophisticated
-features listed above then PycURL is for you.
-</p>
-
-<p>
-The main drawback of PycURL is that it is a relatively thin layer over
-libcurl without any of those nice Pythonic class hierarchies.
-This means it has a somewhat steep learning curve unless you
-are already familiar with libcurl's C API.
-</p>
-
-<p>
-To sum up, PycURL is very fast (especially for multiple concurrent operations)
-and very feature rich, but has a somewhat complex interface.
-If you need something simpler or prefer a pure Python
-module you might want to check out
-<a href="http://www.python.org/doc/current/lib/module-urllib2.html">urllib2</a>,
-<a href="http://python-requests.org/">requests</a> and
-<a href="http://urlgrabber.baseurl.org/">urlgrabber</a>.
-</p>
-
-
-<h2>Documentation</h2>
-
-<p>
-PycURL includes API documentation in the <i><a href="doc/index.html">doc</a></i> directory of the distribution,
-as well as a number of test and example scripts in the <i><a href="https://github.com/pycurl/pycurl/tree/master/tests">tests</a></i>
-and <i><a href="https://github.com/pycurl/pycurl/tree/master/examples">examples</a></i>
-directories of the distribution.
-</p>
-
-<p>
-The real info, though, is located in the
-<a href="https://curl.haxx.se/libcurl/c/">libcurl documentation</a>,
-most important being
-<a href="https://curl.haxx.se/libcurl/c/curl_easy_setopt.html">curl_easy_setopt</a>.
-The
-<a href="https://curl.haxx.se/libcurl/c/libcurl-tutorial.html">libcurl tutorial</a>
-also provides a lot of useful information.
-</p>
-
-<p>
-For a quick start have a look at the high-performance URL downloader
-<a href="https://github.com/pycurl/pycurl/blob/master/examples/retriever-multi.py">retriever-multi.py</a>.
-</p>
-
-<p>
-For a list of changes consult the <a href="ChangeLog">PycURL ChangeLog</a>.
-</p>
-
-
-<h2>Download</h2>
-
-<p>
-<a href="download/pycurl-<?php echo $version; ?>.tar.gz">Download</a>
-PycURL sources version <?php echo "$version ($version_date)"; ?> or try
-the code from
-<a href="https://github.com/pycurl/pycurl">the Git repository</a>.
-</p>
-
-<p>
-You can get prebuilt Win32 modules as well as older versions from the
-<a href="download/">download area</a>.
-Please note that the prebuilt versions are provided for your
-convenience only and are completely <b>unsupported</b> - use them
-at your own risk.
-</p>
-
-<p>
-Also, official PycURL packages are available for <a href="http://ubuntulinux.org">Ubuntu</a>,
-<a href="http://debian.org">Debian GNU/Linux</a>, <a href="http://freebsd.org">FreeBSD</a>,
-<a href="http://gentoo.org">Gentoo Linux</a>, <a href="http://netbsd.org">NetBSD</a>,
-and <a href="http://openbsd.org">OpenBSD</a>.
-</p>
-
-
-<h2>Community</h2>
-
-<p>
-If you want to ask questions or discuss PycURL related issues, our
-<a href="http://cool.haxx.se/mailman/listinfo/curl-and-python">mailing list</a>
-is the place to be.
-<a href="https://curl.haxx.se/mail/list.cgi?list=curl-and-python">Mailing list
-archives</a> are available for your perusal.
-</p>
-
-<p>
-<a href="https://github.com/pycurl/pycurl/issues">Bugs</a> and
-<a href="https://github.com/pycurl/pycurl/pulls">patches</a> are tracked
-on GitHub.
-If your patch or proposal is non-trivial, please discuss it on
-the mailing list before submitting code.
-Older bugs and patches can be found on the
-<a href="https://github.com/p/pycurl-archived/issues">issues</a> and
-<a href="https://github.com/p/pycurl-archived/pulls">pull requests</a> pages
-for the temporary Git import repository on Github, and on the
-<a href="http://sourceforge.net/projects/pycurl/">PycURL SourceForge</a>
-project page.
-</p>
-
-<p>
-The libcurl library also has its own
-<a href="https://curl.haxx.se/mail/">mailing lists</a>.
-</p>
-
-
-<h2>License</h2>
-
-Copyright (C) 2001-2008 Kjetil Jacobsen<br />
-Copyright (C) 2001-2008 Markus F.X.J. Oberhumer<br />
-Copyright (C) 2013-2016 Oleg Pudeyev<br />
-<br />
-PycURL is dual licensed under the LGPL and an MIT/X derivative license
-based on the cURL license. You can redistribute and/or modify PycURL
-according to the terms of either license.
-
-<hr />
-<div align="right">
- <table align="right">
- <tr align="right">
- <td><a href="https://curl.haxx.se/"><img
- src="https://curl.haxx.se/pix/powered_by_curl.gif"
- width="88" height="31" border="0" alt="" /></a>
- </td>
-
- <td><a href="http://sourceforge.net/projects/pycurl/"><img
- src="http://sourceforge.net/sflogo.php?group_id=28236&amp;type=1"
- width="88" height="31" border="0" alt="" /></a>
- </td>
-
- <td><a href="http://validator.w3.org/check/referer"><img
- src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!"
- width="88" height="31" border="0" /></a>
- </td>
- </tr>
- </table>
-</div>
-
-<font size="-1"><i>
- <?php echo 'Last modified ' . @date('D M d H:i:s T Y', getlastmod()) . '.'; ?>
-</i></font>
-
-</body>
-</html>
diff --git a/www/htdocs/redirect.html b/www/htdocs/redirect.html
deleted file mode 100644
index a9b5829..0000000
--- a/www/htdocs/redirect.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<html>
-<head>
-<meta http-equiv='refresh' content="0;url=http://pycurl.io/dest">
-</head>
-<body>
-<a href="http://pycurl.io/dest">Please click this link to continue</a>
-</body>
-</html>
diff --git a/www/htdocs/tests/.htaccess b/www/htdocs/tests/.htaccess
deleted file mode 100644
index 8f9c896..0000000
--- a/www/htdocs/tests/.htaccess
+++ /dev/null
@@ -1,15 +0,0 @@
-# /***********************************************************************
-# // Module core
-# // permissions needed: ???
-# ************************************************************************/
-
-Options +Indexes
-
-
-# /***********************************************************************
-# // Module mod_autoindex
-# // permissions needed: AllowOverride Indexes
-# ************************************************************************/
-
-AddDescription "a file to test the 403 response" 403_FORBIDDEN
-
diff --git a/www/htdocs/tests/403_FORBIDDEN b/www/htdocs/tests/403_FORBIDDEN
deleted file mode 100644
index e69de29..0000000
--- a/www/htdocs/tests/403_FORBIDDEN
+++ /dev/null
diff --git a/www/htdocs/tests/testfileupload.php b/www/htdocs/tests/testfileupload.php
deleted file mode 100644
index 681528a..0000000
--- a/www/htdocs/tests/testfileupload.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php // vi:ts=4:et
-set_magic_quotes_runtime(0);
-
-// send the result back as text/plain, so that we don't have to care
-// about html entities and such
-header("Content-type: text/plain");
-
-echo "[info: this is Content-type: text/plain, so you should get\n";
-echo " back exactly what I have received]\n\n";
-echo "Uploaded files from HTTP request:\n\n";
-
-if (is_array($_FILES))
-{
- while (list($k, $v) = each($_FILES))
- {
- printf(" '$k':\n");
- printf(" name: ${v['name']}\n");
- printf(" type: ${v['type']}\n");
- printf(" size: ${v['size']}\n");
- }
-}
-
-echo "\n[end of file]\n";
diff --git a/www/htdocs/tests/testgetvars.php b/www/htdocs/tests/testgetvars.php
deleted file mode 100644
index 77da536..0000000
--- a/www/htdocs/tests/testgetvars.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php // vi:ts=4:et
-set_magic_quotes_runtime(0);
-
-// send the result back as text/plain, so that we don't have to care
-// about html entities and such
-header("Content-type: text/plain");
-
-if (is_array($_GET))
-{
- while (list($k, $v) = each($_))
- {
- printf(" '%s': '%s'\n", $k, $v);
- }
-}
diff --git a/www/htdocs/tests/testphpself.php b/www/htdocs/tests/testphpself.php
deleted file mode 100644
index 9f3f301..0000000
--- a/www/htdocs/tests/testphpself.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php // vi:ts=4:et
-header("Content-type: text/plain");
-
-echo "request: ${_SERVER['PHP_SELF']}";
-if ($_SERVER['QUERY_STRING'])
- echo "?${_SERVER['QUERY_STRING']}";
-echo "\n";
diff --git a/www/htdocs/tests/testpostvars.php b/www/htdocs/tests/testpostvars.php
deleted file mode 100644
index 800e55d..0000000
--- a/www/htdocs/tests/testpostvars.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php // vi:ts=4:et
-set_magic_quotes_runtime(0);
-
-// send the result back as text/plain, so that we don't have to care
-// about html entities and such
-header("Content-type: text/plain");
-
-echo "[info: this is Content-type: text/plain, so you should get\n";
-echo " back exactly what I have received]\n\n";
-echo "POST vars from HTTP request:\n\n";
-
-if (is_array($_POST))
-{
- while (list($k, $v) = each($_POST))
- {
- printf(" '%s': '%s'\n", $k, $v);
- }
-}
-
-echo "\n[end of file]\n";
diff --git a/www/htdocs/tests/teststaticpage.html b/www/htdocs/tests/teststaticpage.html
deleted file mode 100644
index 9769621..0000000
--- a/www/htdocs/tests/teststaticpage.html
+++ /dev/null
@@ -1 +0,0 @@
-<html><body>Just a static HTML page.</body></html>
diff --git a/www/upload/.keep b/www/upload/.keep
deleted file mode 100644
index e69de29..0000000
--- a/www/upload/.keep
+++ /dev/null