Nexus File Manager
v2.0
🏠
Dashboard
⚡
System
🌐
›
opt
›
alt
›
python27
›
share
›
doc
›
alt-python27-pycurl
›
tests
Quick:
⬆️ Parent
🌐 Root
🏠 Home
🌍 WWW
📁 Temp
⚙️ Etc
📤 Upload
📁 Create
⚡ WordPress Admin
🔄 Refresh
✏️ test_post.py
← Back
#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # vi:ts=4:et # $Id: test_post.py,v 1.9 2003/04/21 18:46:11 mfx Exp $ import urllib import pycurl # simple pf = {'field1': 'value1'} # multiple fields pf = {'field1':'value1', 'field2':'value2 with blanks', 'field3':'value3'} # multiple fields with & in field pf = {'field1':'value1', 'field2':'value2 with blanks and & chars', 'field3':'value3'} c = pycurl.Curl() c.setopt(c.URL, 'http://pycurl.sourceforge.net/tests/testpostvars.php') c.setopt(c.POSTFIELDS, urllib.urlencode(pf)) c.setopt(c.VERBOSE, 1) c.perform() c.close()
💻
System Info
Current path
/opt/alt/python27/share/doc/alt-python27-pycurl/tests
Contents
0 folders, 27 files
Disk free
100.35 GB
PHP version
8.3.30
🚀
Quick Actions
📍 Script location
🌐 Web root
🗑️ Temp
📁 /opt/alt/python27/share/doc/alt-python27-pycurl/tests
⚡ Nexus File Manager • 27 items