--Boundary_(ID_cskesxA86VECs2o/Glxkmg) Content-type: text/plain; charset=us-ascii Content-disposition: inline Content-transfer-encoding: quoted-printable
I patched html.pl from the pillow distribution so that it allows to call = CGIs without any arguments. As this seems to be a common problem it might = be considerd for inclusion it in the distribution. Please regression test = since I don't know what I'm doing (but it seems to work) ~eike
Hallo Michael,
Ich hab das html.pl etwas umgepatch. Es scheint Du hattest schon mal das = gleiche Problem, das man keine CGIs OHNE Argumente aufrufen konnte. Leider = hat der vorhandene Patch den Aufruf mittels GET (aka http://bla.cgi?a=3Db) = verhindert,. So geht's jetzt sowohl ohne Arguments als auch mittels GET.
# diff -u pillow.dist/html.pl html.pl --- html.pl,v96.2.1b Sat May 15 00:49:45 1999 +++ html.pl Sat May 15 01:51:57 1999 @@ -492,9 +492,11 @@ getenvstr('CONTENT_TYPE', ContentType), http_media_type(Type,Subtype,Params,ContentType,[]), get_form_input_of_type(Type,Subtype,Params,Dic). -get_form_input_method(M, _) :- - html_report_error(['Unknown request method ', tt(M), - ' or bad request.']). +get_form_input_method(M, Dic) :- + Dic =3D []. +% eike.oran.org: modified to allow empty input (no QUERY_STRING given) +% html_report_error(['Unknown request method ', tt(M), +% ' or bad request.']).
get_form_input_of_type(application, 'x-www-form-urlencoded', _, Dic) :- getenvstr('CONTENT_LENGTH', N),
--Boundary_(ID_cskesxA86VECs2o/Glxkmg) Content-type: text/enriched; charset=us-ascii Content-disposition: inline Content-transfer-encoding: quoted-printable
<fontfamily><param>Times</param>I patched html.pl from the pillow = distribution so that it allows to call CGIs without any arguments. As this = seems to be a common problem it might be considerd for inclusion it in the = distribution. Please regression test since I don't know what I'm doing = (but it seems to work)
~eike
Hallo Michael,
Ich hab das html.pl etwas umgepatch. Es scheint Du hattest schon mal das = gleiche Problem, das man keine CGIs OHNE Argumente aufrufen konnte. Leider = hat der vorhandene Patch den Aufruf mittels GET (aka http://bla.cgi?a=3Db) = verhindert,. So geht's jetzt sowohl ohne Arguments als auch mittels GET.
</fontfamily><fontfamily><param>Courier</param><smaller># diff -u = pillow.dist/html.pl html.pl
--- html.pl,v96.2.1b Sat May 15 00:49:45 1999
+++ html.pl Sat May 15 01:51:57 1999
@@ -492,9 +492,11 @@
getenvstr('CONTENT_TYPE', ContentType),
http_media_type(Type,Subtype,Params,ContentType,[]),
get_form_input_of_type(Type,Subtype,Params,Dic).
-get_form_input_method(M, _) :-
- html_report_error(['Unknown request method ', tt(M),
- ' or bad request.']).
+get_form_input_method(M, Dic) :-
+ Dic =3D [].
+% eike.oran.org: modified to allow empty input (no QUERY_STRING given)
+% html_report_error(['Unknown request method ', tt(M),
+% ' or bad request.']).
get_form_input_of_type(application, 'x-www-form-urlencoded', _, Dic) :-
getenvstr('CONTENT_LENGTH', N),
</smaller></fontfamily>
--Boundary_(ID_cskesxA86VECs2o/Glxkmg)--