ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@fandra.org>
To: devel@linux.iplabs.ru
Subject: [devel] Re: [mdk-re] HTTP, c++ и Linux
Date: Wed, 13 Dec 2000 04:19:36 +0300
Message-ID: <20001213041936.G13835@LDV.fandra.org> (raw)
In-Reply-To: <1452610697.20001212155652@val.udm.ru>; from val@val.udm.ru on Tue, Dec 12, 2000 at 03:56:52PM +0400

[-- Attachment #1: Type: text/plain, Size: 2205 bytes --]

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&param2=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 <ldv@fandra.org>
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.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

       reply	other threads:[~2000-12-13  1:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-13  1:19   ` Dmitry V. Levin [this message]
2000-12-13  8:19     ` [devel] Re: [devel] " Mikhail Zabaluev
2000-12-13 16:43       ` [devel] " Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001213041936.G13835@LDV.fandra.org \
    --to=ldv@fandra.org \
    --cc=devel@linux.iplabs.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git