cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: --verbose with -F

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Oct 2006 22:40:30 +0200 (CEST)

On Thu, 12 Oct 2006, Dan Fandrich wrote:

> I will also change the -v code to display a short message when such body
> data is being logged, rather than ignoring it altogether, but that's not an
> API break.

I think you changed a little too much (or is it too little? ;-)). Try this
command line with the CVS version:

$ curl localhost -v

and it'll say:

---- start ----
* About to connect() to localhost port 80
* Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 80
> GET / HTTP/1.1
> User-Agent: curl/7.16.0-CVS (i686-pc-linux-gnu) libcurl/7.16.0-CVS OpenSSL/0.9
...

< HTTP/1.1 200 OK
< Date: Tue, 17 Oct 2006 20:37:37 GMT
< Server: Apache/2.2.3 (Debian)
...
< Content-Length: 12
< Content-Type: text/html; charset=UTF-8
{ [data not shown]
ingenting
---- stop ----

The 'ingenting' part being the actual data my local server responds.

The '[data not shown]' comment simply isn't true here!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-17