Re: HTTP headers for Redirected HEAD requests

2019-06-23 Thread Oleg Kalnichevski
On Sun, 2019-06-23 at 13:32 +, Krishna Sankaran wrote: > Attached the curl output for the same URL. > There is a 301, followed by 302 followed by 200. > Content-Type: text/html; charset=utf-8 is seen for the 301 and 302. > and there is no Content-Length > But finally, for the 200 i see the c

Re: HTTP headers for Redirected HEAD requests

2019-06-23 Thread Krishna Sankaran
Attached the curl output for the same URL. There is a 301, followed by 302 followed by 200. Content-Type: text/html; charset=utf-8  is seen for the 301 and 302. and there is no Content-Length But finally, for the 200 i see the correct Content-Type and Length. Content-Type: video/mp4  Conten

Re: HTTP headers for Redirected HEAD requests

2019-06-23 Thread Oleg Kalnichevski
On Sat, 2019-06-22 at 17:22 +, Krishna Sankaran wrote: > No, Disabling header compression did not work. One thing to notice > is this redirect is not to another host, but a different path in the > same server. Does it make a difference? I have attached the log > below. > Krishna, But there

Re: HTTP headers for Redirected HEAD requests

2019-06-22 Thread Krishna Sankaran
No, Disabling header compression did not work. One thing to notice is this redirect is not to another host, but a different path in the same server. Does it make a difference? I have attached the log below. I got the log using the following parameters. I don't see multiple get requests going

Re: HTTP headers for Redirected HEAD requests

2019-06-21 Thread Oleg Kalnichevski
On Fri, 2019-06-21 at 00:04 +, Krishna Sankaran wrote: > I am using the following java snippet for a HEAD request. The request > gets redirected couple of times, a 301 followed by 302 and dinally > gets a 200.When i use the following code snippet, i get the status as > 200 OK, however all the h