[BACK]Return to testpost.sh CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / trans / data

File: [local] / OpenXM / src / kan96xx / trans / data / testpost.sh (download)

Revision 1.1, Sun Sep 22 01:07:38 2013 UTC (10 years, 8 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_3_1_13b, HEAD

Added a filter oxdecode_post to decode mime encoded post messages by curl
for cgiPolymake.

WFILE=/tmp/tmp-post-$$.txt
env CONTENT_LENGTH=174 ../oxdecode_post <post1.txt >${WFILE}
env CONTENT_LENGTH=`wc -m ${WFILE} | awk '{print $1}'` sm1 -q -s "[(parse) (cgi.sm1) pushfile] extension cgiPolymake quit " <${WFILE}
exit 0
: rm ${WFILE}
: t.t : oxMessageBody=FACETS++POINTS%0A1+0+0+%0A1+1+0+%0A1+0+1%0A
: cf. src/polymake/cgi/cgi-polymake.sh