Do any of the browsers for Linux (e.g. Firefox, Chrome) have a
"verbose" mode that functions similarly to curl's?

One of the nice features of curl is its verbose mode.  When enabled
you can see what is sent to and received from a web server.  For
example, to see what headers are exchanged during a request to
http://google.com:

$ curl -v -s -I http://google.com 2>&1 > /dev/null | cat -n
     1  * About to connect() to google.com port 80 (#0)
     2  *   Trying 74.125.95.105... connected
     3  * Connected to google.com (74.125.95.105) port 80 (#0)
     4  > HEAD / HTTP/1.1
     5  > User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7
OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
     6  > Host: google.com
     7  > Accept: */*
     8  >
     9  < HTTP/1.1 301 Moved Permanently
    10  < Location: http://www.google.com/
    11  < Content-Type: text/html; charset=UTF-8
    12  < Date: Sat, 17 Jul 2010 23:03:10 GMT
    13  < Expires: Mon, 16 Aug 2010 23:03:10 GMT
    14  < Cache-Control: public, max-age=2592000
    15  < Server: gws
    16  < Content-Length: 219
    17  < X-XSS-Protection: 1; mode=block
    18  <
    19  * Connection #0 to host google.com left intact
    20  * Closing connection #0

Lines starting with a ">" show what curl sent to google. Lines
starting with a "<" show what curl got back from the server. Lines
starting with a "*" are descriptions of what curl is doing.

Is there anything like that for any of the GUI browser?  I haven't
gotten any answers from my brief sessions with the Google.

BTW, to have curl follow redirects, add a -L option..

Regards,
- Robert

-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug

Reply via email to