HTTP protocol allows a client to specify a time condition for the document it requests. It is If-Modified-Since
. How do I use curl Unix/Linux command line option to test a server with If-Modified-Since
condition and validate Last-Modified
y proxy server password has special characters such as !,@, and so on. How do I set and export the variable called http_proxy or HTTP_PROXY when password has special characters under Unix like operating systems?
have setup nginx as a secure reverse proxy server
. How do I redirect all http://example.com/ requests (traffic) to https://example.com/ under nginx web server?
would like to use the Cache-Control header field to specify directives that MUST be obeyed by all caching mechanisms such as a proxy server and browsers. This will help to reduce latency and network traffic for my static assets served by lighttpd web-server. How do I set Cache-Control: public, max-age=SEC using Lighttpd web-server under Unix like operating systems?
ow do I find out if a web-page is gzipped or compressed using Unix command line utility called curl? How do I make sure mod_deflate or mod_gzip is working under Apache web server?
How do I send a header to my Web server (such as Nginx / Lighttpd / Apache / ISS) on a Apple OS X or Unix or Linux based system using a curl command line option for testing and debugging my web apps or server nodes behind a load balancer?
I know how to use wget command to grab files. But, how do you download file using curl command line under Linux / Mac OS X / BSD or Unix like operating systems?