Bug #12414 Updated: HTTP POST on lynx not supported
| From: | sniper@php.net | Date: | Mon, 20 Aug 2001 16:00:11 +0000 |
| Subject: | Bug #12414 Updated: HTTP POST on lynx not supported | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63861@lists.php.net to get a copy of this message | ||
ID: 12414
Updated by: sniper
Reported By: kiko@async.com.br
Old Status: Feedback
Status: Closed
Bug Type: HTTP related
Operating System: Linux
PHP Version: 4.0.5
New Comment:
No feedback. Reopen if you still have this problem
with PHP 4.0.7 (soon to be released) or with latest CVS
snapshot from http://snaps.php.net/
Previous Comments:
------------------------------------------------------------------------
[2001-07-27 23:20:24] sniper@php.net
Could you please try with PHP 4.0.6 as there were
couple of fixes regarding this issue in it.
Also, you should try the latest CVS snapshot from
http://snaps.php.net/ to verify the latest fixes
haven't broke anything.
--Jani
------------------------------------------------------------------------
[2001-07-26 23:25:59] kiko@async.com.br
Current Lynx versions can optionally support HTTP POST;
however, it doesn't work for the PHP file upload functions.
I believe this happens because the upload might be broken in the RFC, but I've seen some
discussion on the site http://www.flora.org/lynx-dev/html/month082000/msg00087.html
that suggests PHP3 uploads were broken with lynx.
I'm attaching the (edited and ^Med) POST produced so somebody who knows the RFC better can
comment:
POST / HTTP/1.0
Host: blackjesus
Accept: text/html, text/plain, audio/x-pn-realaudio, audio/vnd.rn-realaudio, application/smil,
text/vnd.rn-realtext, video/vnd.rn-realvideo, image/vnd.rn-realflash,
application/x-shockwave-flash2-preview, application/sdp, application/x-sdp
Accept: application/vnd.rn-realmedia, image/vnd.rn-realpix, audio/wav, audio/x-wav, audio/x-pn-wav,
audio/x-pn-windows-acm, audio/basic, audio/x-pn-au, audio/aiff, audio/x-aiff, audio/x-pn-aiff,
text/sgml, video/mpeg, image/jpeg, image/tiff
Accept: image/x-rgb, image/png, image/x-xbitmap, image/x-xbm, image/gif, application/postscript,
*/*;q=0.01
Accept-Encoding: gzip, compress
Accept-Language: en
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6
Referer: http://www.async.com.br/hireme.phpc2ggQ29taWNzPC9BPgo8L0RMPjxwPgo=
^M
--xnyLAaB03X^M
Content-Disposition: form-data; name=email^M
Content-Type: text/plain; charset=iso-8859-1^M
^M
foo@foo.com^M
--xnyLAaB03X^M
Content-Disposition: form-data; name=MAX_FILE_SIZE^M
Content-Type: text/plain; charset=iso-8859-1^M
^M
500000^M
--xnyLAaB03X--^M
Content-type: multipart/form-data; boundary=xnyLAaB03X
Content-length: 6981
--xnyLAaB03X
Content-Disposition: form-data; name=currfile; filename="/home/kiko/bookmarks.html"
PCFET0NUWVBFIE5FVFNDQVBFLUJvb2ttYXJrLWZpbGUtMT4KPCEtLSBUaGlz
[...]
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12414&edit=1