[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev how to put new line when using --post_data option
From: |
Clement Ng |
Subject: |
lynx-dev how to put new line when using --post_data option |
Date: |
Tue, 16 Nov 1999 10:12:44 -0500 |
Hi all,
I am trying to send a file using post_data option and it seems that
the new line character '\n' is always removed. Is there
a way to fix this?
Below is how I use it:
----------------------------------------
prompt> lynx http://cheerio:9999 --post_data
hello
how are you
---
-----------------------------------------
And what send across the wire is:
-----------------------------------------
POST / HTTP/1.0
Host: cheerio:9999
Accept: text/html, text/plain, text/sgml, video/mpeg, image/jpeg,
image/tiff, 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
User-Agent: Lynx/2.8.2rel.1 libwww-FM/2.14
Content-type: application/x-www-form-urlencoded
Content-length: 16
hellohow are you
-----------------------------------------
Thanks for the help.
Clement
- lynx-dev how to put new line when using --post_data option,
Clement Ng <=