I am re-posting the request headers with clarity.

Isuru, yes, response headers were seen inside the downloaded file.

Request URL:
https://cloudmgt.cloudpreview.wso2.com/cloudmgt/site/pages/index.jag
Request Method: GET
Status Code:200 OK
Request Headersview source
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Cookie:JSESSIONID=D4F2E51261E81DDAA3C70FDB96A30A84;
__utma=213501382.1702684681.1392966199.1392966199.1393574823.2;
__utmb=213501382.2.10.1393574823; __utmc=213501382;
__utmz=213501382.1393574823.2.2.utmcsr=identity.cloudpreview.wso2.com
|utmccn=(referral)|utmcmd=referral|utmcct=/commonauth
Host:cloudmgt.cloudpreview.wso2.com
Referer:https://cloudmgt.cloudpreview.wso2.com/cloudmgt/
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36


On Fri, Feb 28, 2014 at 2:20 PM, Isuru Perera <[email protected]> wrote:

> Hmm.. That's strange. You see HTTP Headers in the downloaded file itself?
>
>
> On Fri, Feb 28, 2014 at 1:43 PM, Amila Maha Arachchi <[email protected]>wrote:
>
>> Following are the request headers
>>
>>
>>    1. Request URL:
>>    https://cloudmgt.cloudpreview.wso2.com/cloudmgt/site/pages/index.jag
>>    2. Request Method:
>>    GET
>>    3. Status Code:
>>    200 OK
>>    4. Request Headersview source
>>       1. Accept:
>>
>>       
>> text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
>>       2. Accept-Encoding:
>>       gzip,deflate,sdch
>>       3. Accept-Language:
>>       en-US,en;q=0.8
>>       4. Connection:
>>       keep-alive
>>       5. Cookie:
>>       JSESSIONID=D4F2E51261E81DDAA3C70FDB96A30A84;
>>       __utma=213501382.1702684681.1392966199.1392966199.1393574823.2;
>>       __utmb=213501382.2.10.1393574823; __utmc=213501382;
>>       __utmz=213501382.1393574823.2.2.utmcsr=
>>       identity.cloudpreview.wso2.com
>>       |utmccn=(referral)|utmcmd=referral|utmcct=/commonauth
>>       6. Host:
>>       cloudmgt.cloudpreview.wso2.com
>>       7. Referer:
>>       https://cloudmgt.cloudpreview.wso2.com/cloudmgt/
>>       8. User-Agent:
>>       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36
>>       (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
>>
>>
>> No response headers can be found in the chrome developer tools. But, when
>> I open the downloaded file I see the following.
>>
>> 0
>>
>> HTTP/1.1 200 OK
>> Vary: Accept-Encoding
>> Content-Encoding: gzip
>> Set-Cookie: JSESSIONID=4B4399DD1E8FA49FB17B6DC9A650DAF8; Path=/cloudmgt/;
>> Secure; HttpOnly
>> Content-Type: text/html
>> Date: Fri, 28 Feb 2014 08:07:09 GMT
>> Server: WSO2-PassThrough-HTTP
>> Transfer-Encoding: chunked
>> Connection: keep-alive
>>
>> a43
>> ã ΩZks⁄8 ˛‹ŒÙ?hΩ; ôçm ó&
>> ∞ °$dìê
>> inùNFÿ¬à»ñ+… x∑ˇ˝=≤
>> 1ó϶€d…Lâ•£sëŒyŒ#ßÔfiæ{˜∂¸S£Ω qsˆ ız¿4?” b
>> µ>¢˜_™(˛îı4r ñ≤b ‹ Hê0)ŸMævíØ˜F ï ˙L óˆæòfF]V◊3‘˝ùûùÁËyRÅßR z†∫BAº“4ÁW'∂
>> v”flı vOˇºâÁ\:¨¶ø«œaıÜG Ç >BÇ∏T G )éZ. Uc µzHıIf›TêÚı0er Öå`I¿EÍ‹ki
>> r©P7Rä VŸ µŸ¨Â >ÚâÍs∑bhY ·Xa≈Ë+ ∂Mß 8åGn(»êíë5íºd9‹∑%ˆôî‹» î µ0 è“ å R„êÄ
>> ÍÇn ÿáßN̉¯ú|çàvbàY cgç›ÕÓ’»s˝À±Sb√Ó†@O:õ£ ≠≥Æ :º=`—̧@//œ é/<z6Ÿ¸„Ï¥
>> k∆N#¨ª◊ÁºÀéòs}…úç?ΩŒß?w[˛Cfl9ÿ vKªÉ ≠” ¯Í \ oKEusµÂ√∏p îºı Ü›É q„≥
>> j¥ıëMúçK÷π⁄ö∏ Õ»mÄ/É⁄√È~atB „vÛœQª¡Gß >jÔonúNé0¯yu{}4¡Wª—Yß5> Äû√æÍ lM⁄¡‘œ
>> uØè¢∂ø€á 'm ∆/a˛|–fßıãO£Ì ∫9j ıqw„|xS⁄ï≠¡ÊéSj™n£µ›π>ù∏Wó„EΩgù£¢„onwKÕ æ>ŸÓ˙Mu
>> flÓ¡…ˆßBÛÙ¢¡µ?€7∞ |,h [É≠˙ßf˝‚¸ÚË͸≤µsºëËjfl'±;3ªG£ˆ}ÏÁ—y≥ ˚ƒ §SØ√~
>> ›¬È¯ˆ™Y∏ΩÄ∏ èä∑ùñwÓÔéª0ˆ\ü‚Ò+v |u;t¸bflmѨ úáÓ·==ûlŒ¸Zq∆ø
>> ˆw&fi9ax‹QXëYfiuI°∏MJƒ$Æ≥en v\ ; %s úÕç
>> ÔÏ‚Ô∂”È¥këÍwàîP`≠∆Ã⁄f}scw∑—(~‹i÷6wõı‚˚˙vc ∑∂ΩUh‘ö;OXJ™:5%£ÆOïQ=kw.
>> v2µTíˆ\Mñm]˝”ë≤ùA•≤t
>> ì0P ä<({Äá8 7–Çjó;ë 0aiçÚs·ãï¯ì_€õ©OñVc åˇ) Ó`‰Ù±êDUåHıà Ÿ –L$4 ô
>> tX1ÆÕO5sü˚!V¥À‡¿ (0\1Z +ƒı»£Ç2Ä #’´NªÑˆ5tïÌd$ùéu''£ -‰Be‘ç®´˙ ¿Œ!f¸∞éh@≈Ãî 
>> f§R¥
>> ∆
>> ].I Ö#Œ®[%â! ∏X J≈2˚_Yfi})úäa«xÏ{ ñT ¿fi'“vI GLŸ–¢àíˆ@⁄CËL\ÿ
>> @V16ã÷{´h˘4∞tÛö; }$?l ∞Á-j ô†¥r…É“*Ì/i#fi™8ó_'é•√π%ÇÔ3 v9 Ó¸”™sö’«flzRÕä"
>> ÅÓ<¸ Í9˛˙Î/Ù˘À^VB [a$˚˘œπ;∞Ê8<
>> Tn Â†ÍÆ”OÓÀ⁄”´î¿Œ˝ ˆbíêHfeÛΩ(àÈE~
>> ˝/;ë∏ÁapnÜ%é Ä… —O˘\ Unm ƒ¨ òr 1Á‚I,«Å ≥JDdofi
>> ì˘¿\>óõ ™dL2Ó`Ìû
>> Æ∏√ ˙ ¶DHJñC ígx çFπ5Ù Y Á #& 0 +Í»ò Å•ÅÃÌ- )≥1zD• ˙¯ {ßÄ è° êÓ!iÖ¿ u
>> ]b—@ °Í rì‰=ºé‰¸a|[À/Ó˘tÀ „ÿ≠Öa &è√ 2^: Ñ‚‚’D0oXñ›Ö
>> πó∂ íG¬!6∏k„ ~–øX j¨/kò~ ˘ T¶VkC ©X√ˆ˙ì㬠®k| ‡fl î¯π(˝m}>ƒπ0Û‡- Ÿäÿ‚ Ì•
>> ˙‡ãÖ‚⁄ì ÙKfi¯ôÇ„∆öÖï p0¬…≠ÁûU‹‘˜l˛NØ∑¬¿À≠Ì≠4ÙÌ˚Ç |Ω><_G:Ô5eâÄÛ !∏∏Ë >
>> V ˝m1 bìÛ ø‰ß πfA—π„¸£¡9ï– ≥Yî "∆Ê {≥`n :„°Umˇ«ö˛∫ —CK-ŒÈYÏˇË‚‰ „1è‘<
>> x4˚ú æ(˝,ˆ0è∆eFÉ{∏ø1 njÃàÏ Î˚ÇÙûŸ; )Åæ ƒ#(Nüƒ- ÁúúªNgè¸ÂÌÎ˚¸j o∆/g?Ä ç ù¨
>> ˛EL§T‡´¢·Î y‰í0∏Àó¶flØ èè_kß Ÿ „a“π_ÃÄ÷ÏDRq ™tô˝¸ ¬ÂC3 ù ≥dm[% ZB»
>> Ë1–˙UÙ¯ÕõL qO¯û
>> “Õ†áá”^`§åç˙¿îÏ 3÷g/Zëp;P \&_Õ\Ç–ô7UÂ.w«à∫puÖö^Ö%≥7}Û § N_ã%P‹ XØüæ÷ä$
>> <Ñ 83%x‡U Ç] wp'K P ˙ p ù%Ø∞ 8ç8•[…| ZÍ8ÊWF5
>> =Å]Çœ≈tyŸ∆Uƒ≈“j k)Mã gú¥ üæF´hæhT5o ÇoË ñG˚±,jj·XΩ‚à˙@ á©iÚ AI‡êÙ
>> €jÏK«„ ÉDL∑K ‰]24∑›p üä Íıï±∏·˝‚tûqèCÆ‚’ ¬ôCF .yà [µ ŸÒ 5ìÚò l „;m,…)Æ—
>> @ÕdJflºı˛@B ùÕD„
>> ∫@U '` f±-sû ÈÎâg(éªÉ∫ (ä ∑
>> ÈÃXX`*ÓyöV@F‚Ù·qvZx?√Œ… R8]≠ã `É㯉 èa.é …`ƒñ,Æv- g¥∫îΩ≥ó≠Q®ôÜ
>>  çÖßÈ”]ó·‡fi®víô‰@≈jRª§\Nµs·Ÿ *pZgvÌϨY€_∂”$ƒÌ¬ Ô{
>> Å ‡ò“ö —{
>> g*CÜ«v≠Y, ÏOê ø D‘%Àvı äÁ˛ÖÂôQ ÆM¶> Õbg=ã S™»•|ŸÏ Á»fiøµ c
>> §#T»ä3€Of‰”⁄Àvƒ k)-ѕŠxÙKˇ ∆\ 'X gwıêkîõ%3 si°:WÉî ®-zÙAóB÷ü§Ω 1m0ô%# ∏2
>> {Àvfiæ}7˚ô€ ˝Wó ÁpÙ©≤ î`,«®\ ‘ÃY.…fi¡Œ˘ à˝ŸX —}{ D¿]‚^Òp ®=$B_ ˛9ß^ èò@ò ˜‰£
>> Á .˘ËWTè(sˇ& _eO Ò0{ÙÂZ© 04–ˇÿ Ö≥[“í2"ˇıVxÇGô‰–0˜ö.ƒoeÜdï'# ¶üÕꉕœ Ω#}◊}t¢
>> µí∞∫'<XâêÄ ’9Œ5ɧòbˇ¿Ω°Àπ ∆äCs⁄Àü∏,¸Äç≈ã‡ã H/µRQÁ~¸C™ _ñ ·"Æ ˝ z flU_#Ÿm˛
>> CO/¶´˛D`Îãî˛è v˙?%˛ S5ñ-@!
>> 0
>>
>>
>>
>> On Fri, Feb 28, 2014 at 12:18 PM, Amila Maha Arachchi <[email protected]>wrote:
>>
>>> AFAIR, response headers were not available at this time. But, I'll
>>> double check.
>>>
>>>
>>> On Fri, Feb 28, 2014 at 12:13 PM, Isuru Perera <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Were you able to capture the HTTP headers in the response when the
>>>> Chrome detects the response as a downloadable file?
>>>>
>>>>
>>>> On Fri, Feb 28, 2014 at 12:07 PM, Amila Maha Arachchi 
>>>> <[email protected]>wrote:
>>>>
>>>>>  Hi all,
>>>>>
>>>>> I have been investigating on the page download issue in Chrome when
>>>>> our ELB is in the picture (this affects the user experience of our cloud
>>>>> deployment). Here are some of the findings.
>>>>>
>>>>> 1. Users have faced this issue in Chrome when they are using some of
>>>>> the plugins (not using any of our products). So I removed all the plugins
>>>>> in my Chrome. But the issue still exists.
>>>>>
>>>>> 2. When these files are downloaded, when we open them, they are
>>>>> corrupted (I mean, even though those are JSPs, content is some rubbish).
>>>>>
>>>>> 3. I tried to identify any pre-requisites which makes a file
>>>>> downloaded by a browser. But I couldn't.
>>>>>
>>>>> I'll also keep the wire logs enabled in ELB to see whether I can pick
>>>>> anything from it.
>>>>>
>>>>> So, your input which can help to find a way to solve this issue is
>>>>> highly appreciated.
>>>>>
>>>>> Regards,
>>>>> AmilaM.
>>>>>
>>>>> --
>>>>> *Amila Maharachchi*
>>>>> Senior Technical Lead
>>>>> WSO2, Inc.; http://wso2.com
>>>>>
>>>>> Blog: http://maharachchi.blogspot.com
>>>>> Mobile: +94719371446
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Perera
>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>> Lean . Enterprise . Middleware
>>>>
>>>> about.me/chrishantha
>>>>
>>>
>>>
>>>
>>> --
>>> *Amila Maharachchi*
>>> Senior Technical Lead
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>
>>
>> --
>> *Amila Maharachchi*
>> Senior Technical Lead
>> WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to