From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dmitry V. Levin" To: devel@linux.iplabs.ru Message-ID: <20001213041936.G13835@LDV.fandra.org> Mail-Followup-To: devel@linux.iplabs.ru References: <1452610697.20001212155652@val.udm.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wj9ZLJVQDRFjGSdK" Content-Disposition: inline In-Reply-To: <1452610697.20001212155652@val.udm.ru>; from val@val.udm.ru on Tue, Dec 12, 2000 at 03:56:52PM +0400 Subject: [devel] Re: =?koi8-r?Q?=5Bmdk-re=5D_HTTP=2C_c++_=C9_Linux?= Sender: devel-admin@linux.iplabs.ru Errors-To: devel-admin@linux.iplabs.ru X-BeenThere: devel@linux.iplabs.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: devel@linux.iplabs.ru List-Help: List-Post: List-Subscribe: , List-Id: IPLabs Linux Team Developers mailing list List-Unsubscribe: , List-Archive: X-Original-Date: Wed, 13 Dec 2000 04:19:36 +0300 Date: Wed, 13 Dec 2000 04:19:36 +0300 Archived-At: List-Archive: List-Post: --wj9ZLJVQDRFjGSdK Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Tue, Dec 12, 2000 at 03:56:52PM +0400, Roman Shumikhin wrote: > Спасибо за помощь, про LOcation я знаю, но мне нужно другое: > в теле запроса надо предавать данные, методом POST > > POST http://URL HTTP/1.1 > Content-type: ... > Content-Length: XX > > param1=a¶m2=b и т.д. > > Вот если бы можно было передавать нужный мне заголовок телнету вот так: > $telnet www.company.ru 80 <файл_с_запросом [>ответ сервера] > > Но, к сожалению, telnet не берёт данные со стандартного ввода... :-( Есть пакет, с помощью утилит из которого вы без труда решите Вашу задачу. $ rpm -qi nc Name : nc Relocations: /usr Version : 1.10 Vendor: IPLabs Linux Team Release : ipl10mdk Build Date: Wed Aug 9 02:04:05 2000 Install date: Wed Aug 9 02:05:15 2000 Build Host: LDV.fandra.org Group : Networking/Other Source RPM: nc-1.10-ipl10mdk.src.rpm Size : 127930 License: GPL Packager : Dmitry V. Levin Summary : Reads and writes data across network connections using TCP or UDP. Description : The nc package contains Netcat (the program is actually nc), a simple utility for reading and writing data across network connections, using the TCP or UDP protocols. Netcat is intended to be a reliable back-end tool which can be used directly or easily driven by other programs and scripts. Netcat is also a feature-rich network debugging and exploration tool, since it can create many different connections and has many built-in capabilities. You may want to install the netcat package if you are administering a network and you'd like to use its debugging and network exploration capabilities. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@fandra.org Software Engineer PGP pubkey http://www.fandra.org/users/ldv/pgpkeys.html IPLabs Linux Team http://linux.iplabs.ru Fandra Project http://www.fandra.org +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. --wj9ZLJVQDRFjGSdK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6Ns6oZqIoNiVITrsRAvwkAKChDuvAaVTx2g71Kb3Xh41S5wqYpwCgtc6i V2oKS4BQ5Lpb+4xHhMqNQVU= =MsJu -----END PGP SIGNATURE----- --wj9ZLJVQDRFjGSdK-- _______________________________________________ Devel mailing list Devel@linux.iplabs.ru http://www.logic.ru/mailman/listinfo/devel