* [devel] Re: [mdk-re] HTTP, c++ и Linux
@ 2000-12-13 1:19 ` Dmitry V. Levin
2000-12-13 8:19 ` [devel] Re: [devel] " Mikhail Zabaluev
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2000-12-13 1:19 UTC (permalink / raw)
To: devel
[-- 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¶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 <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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [devel] Re: [devel] HTTP, c++ и Linux
2000-12-13 1:19 ` [devel] Re: [mdk-re] HTTP, c++ и Linux Dmitry V. Levin
@ 2000-12-13 8:19 ` Mikhail Zabaluev
2000-12-13 16:43 ` [devel] " Dmitry V. Levin
0 siblings, 1 reply; 3+ messages in thread
From: Mikhail Zabaluev @ 2000-12-13 8:19 UTC (permalink / raw)
To: devel
Hello Dmitry,
On Wed, Dec 13, 2000 at 04:19 +0300, Dmitry V. Levin wrote:
>
> 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 <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.
Смущает название nc; у nedit так называется клиент-"открывалка".
--
Stay tuned,
MhZ mailto:mookid@sigent.ru
_______________________________________________
Devel mailing list
Devel@linux.iplabs.ru
http://www.logic.ru/mailman/listinfo/devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [devel] Re: [devel] Re: [devel] HTTP, c++ и Linux
2000-12-13 8:19 ` [devel] Re: [devel] " Mikhail Zabaluev
@ 2000-12-13 16:43 ` Dmitry V. Levin
0 siblings, 0 replies; 3+ messages in thread
From: Dmitry V. Levin @ 2000-12-13 16:43 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 771 bytes --]
On Wed, Dec 13, 2000 at 11:19:42AM +0300, Mikhail Zabaluev wrote:
> Смущает название nc; у nedit так называется клиент-"открывалка".
Я знаю (сам пользуюсь), но такова воля автора.
Хотя, я думаю, переименовать ее в netcat мы имеем право.
Вопрос в том, как обеспечить совместимость для программ, использующих имя
"nc"?
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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-12-13 16:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13 1:19 ` [devel] Re: [mdk-re] HTTP, c++ и Linux Dmitry V. Levin
2000-12-13 8:19 ` [devel] Re: [devel] " Mikhail Zabaluev
2000-12-13 16:43 ` [devel] " Dmitry V. Levin
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