You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "PINNI, BALANAND (SBCSI)" <bp...@sbc.com> on 2005/01/19 16:14:04 UTC

[users@httpd]Curl S/W

All--

I am trying to read HTTP header and in order to do that I need to
install and understand Curl freeware .Can any one direct me to right
link and give information about this software.

Thanks in advance. 


Balanand Pinni
23-H-4
SBC Services Inc
OBC ,Stl MO
*   314-206-5911
* bp3965@momail.sbc.com
* 1- 800- 451- 6897



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd]Curl S/W

Posted by Jeff White <jl...@earthlink.net>.

From: "PINNI, BALANAND (SBCSI)"

> I am trying to read HTTP header and
> in order to do that I need to install and
> understand Curl freeware.

> Just now I downloaded
> C:\unzipped\curl-7.12.3-win32-nossl>curl -I

I see you use Windows,
so you also have at least
two other great options, a
Windows GUI free product
and Windows Scripting.

Next time you are at a different
Windows machine, rememeber
the Windows Scripting way will
always be available to you!

First the Windows GUI product.

<quote>

A simple HTTP request that
is issued by typing a URL
in the address bar of a
browser might produce multiple
network requests to the target
server running IIS. However,
the user does not see all of
the resulting response data
because the browser does not
display it. WFetch allows you
to fully customize an HTTP request
and send it to a Web server so
that you can see the raw HTTP
request and response data. WFetch
is included in the Internet
Information Services (IIS) 6.0
Resource Kit.

</quote>

WFetch, IIS 6.0 Technical Reference
http://www.microsoft.com/resources/documentation/IIS/6/all/techref/en-us/iisRG_TRB_4.mspx

HOW TO: Use Wfetch.exe to Troubleshoot HTTP Connections
http://support.microsoft.com/default.aspx?scid=kb;en-us;284285

WFetch is a GUI product.
To see  a picture, use the
WFetch usage link below.

<quote>

To observe the raw HTTP
traffic between a browser
and IIS, use WFetch.

</quote>

Generating an HTTP Request, IIS 6.0 Technical Reference
http://www.microsoft.com/resources/documentation/IIS/6/all/techref/en-us/iisRG_TRB_23.mspx

For more WFetch
information:
http://groups-beta.google.com/groups?as_q=WFetch&safe=images&as_ugroup=microsoft.public.*&lr=&hl=en

Now on to Windows Scripting.

<quote>

Microsoft Windows HTTP Services
(WinHTTP) provides developers
with an HTTP client application
programming interface (API) to
send requests through the HTTP
protocol to other HTTP servers.

WinHTTP supports desktop client
applications, Windows services,
and Windows server-based applications.

Snip

WinHTTP offers both a C/C++
application programming interface
(API) and a Component Object Model
(COM) automation component suitable
for use in Active Server Pages (ASP)
based applications.

</quote>

Windows HTTP Services (WinHTTP)
http://msdn.microsoft.com/library/en-us/winhttp/http/winhttp_start_page.asp

<quote>

// Example Code
// The following example shows
// how to open an HTTP connection,
// send an HTTP request, and get
// all of the headers from the response.

// Instantiate a WinHttpRequest object.
var WinHttpReq = new ActiveXObject("WinHttp.WinHttpRequest.5.1");

// Initialize an HTTP request.
WinHttpReq.Open("GET", "http://www.microsoft.com", false);

// Send the HTTP request.
WinHttpReq.Send();

// Get all response headers.
WScript.Echo( WinHttpReq.GetAllResponseHeaders());

</quote>

IWinHttpRequest | WinHttpRequest GetAllResponseHeaders(BSTR) method
[WinHTTP]
http://msdn.microsoft.com/library/en-us/winhttp/http/iwinhttprequest_getallresponseheaders.asp

Save the above script,
as say GetAllHeaders.js
then in a command prompt
window just type:

cscript.exe GetAllHeaders.js

or for a GUI type display type:

wscript.exe GetAllHeaders.js

Full Request info
IWinHttpRequest Interface interface [WinHTTP
http://msdn.microsoft.com/library/en-us/winhttp/http/iwinhttprequest_interface.asp

Using the WinHttpRequest COM Object [HTTP]
http://msdn.microsoft.com/library/en-us/winhttp/http/using_the_winhttprequest_com_object.asp

Retrieving Data Using Script
http://msdn.microsoft.com/library/en-us/winhttp/http/retrieving_data_using_script.asp

For more WinHttp Windows
Scripting information:
http://groups-beta.google.com/groups?as_q=WinHttp%20&safe=images&as_ugroup=microsoft.public.scripting.*&lr=&hl=en

Both WFetch and WinHttp allow
SSL, Windows Auth and much
much more.

Try both!

Jeff




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd]Curl S/W

Posted by "H. Carter Harris" <ca...@technettn.net>.
Google got me to: http://curl.haxx.se/


-----Original Message-----
From: PINNI, BALANAND (SBCSI) [mailto:bp3965@sbc.com]
Sent: Wednesday, January 19, 2005 9:14 AM
To: users@httpd.apache.org
Subject: [users@httpd]Curl S/W 


All--

I am trying to read HTTP header and in order to do that I need to
install and understand Curl freeware .Can any one direct me to right
link and give information about this software.

Thanks in advance. 


Balanand Pinni
23-H-4
SBC Services Inc
OBC ,Stl MO
*   314-206-5911
* bp3965@momail.sbc.com
* 1- 800- 451- 6897



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org