why two different responses?

AJ Weber aweber at comcast.net
Fri Oct 26 03:03:57 UTC 2012


One of these requests is sent by my program.  One is sent by curl (it's 
easy to tell which).   They are identical as far as I can tell.  
However, the curl request returns the expected result (204) from my 
servlet.  The program keeps getting this 302 returned with some generic 
"302 Found" html from nginx.

My eyes are blurry from staring at it.  Can anyone tell me why my test 
with curl works, but the program sending the same request does not???

Thanks,
AJ

xx.yy.zz.64 - - [26/Oct/2012:02:49:38 +0000] "GET 
/myCoordinator/Coordinator?Action=servers HTTP/1.1" 
upstream_cache_status - 302 171 "-" "-" "-"

tt.ss.kk.134 - - [26/Oct/2012:02:52:43 +0000] "GET 
/myCoordinator/Coordinator?Action=servers HTTP/1.1" 
upstream_cache_status MISS 204 0 "-" "curl/7.19.7 
(x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3 
libidn/1.18 libssh2/1.2.2" "-"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20121025/748219a2/attachment.html>


More information about the nginx mailing list