Re: Reorder the http header generated by tomcat

2008-03-06 Thread George Sexton
Filip Hanik - Dev Lists wrote: George Sexton wrote: I agree. I just said that if HIS app requires a specific order, HE should write code to do it. that wont help you IF there is a proxy between server and user agent that reorders it. the user-agent is what needs to be fixed Filip I was work

Re: Reorder the http header generated by tomcat

2008-03-06 Thread Filip Hanik - Dev Lists
George Sexton wrote: William A. Rowe, Jr. wrote: Jim Jagielski wrote: Requiring any specific order on HTTP response headers is completely bogus... :) To elaborate on why Jim thinks so (and we all agree)... - it's not spec. You cannot rely on this when authoring a user agent. - proxies c

Re: Reorder the http header generated by tomcat

2008-03-05 Thread Arend van Spriel
Still it is good to clarify the WHY as explained by William. I would say to mr. wang to get rid of any need for a specific order before getting started with implementing some sorting algorithm. George Sexton wrote: > > > William A. Rowe, Jr. wrote: >> Jim Jagielski wrote: >>> Requiring any speci

Re: Reorder the http header generated by tomcat

2008-03-05 Thread George Sexton
William A. Rowe, Jr. wrote: Jim Jagielski wrote: Requiring any specific order on HTTP response headers is completely bogus... :) To elaborate on why Jim thinks so (and we all agree)... - it's not spec. You cannot rely on this when authoring a user agent. - proxies can and will reorder wh

Re: Reorder the http header generated by tomcat

2008-03-05 Thread William A. Rowe, Jr.
Jim Jagielski wrote: Requiring any specific order on HTTP response headers is completely bogus... :) To elaborate on why Jim thinks so (and we all agree)... - it's not spec. You cannot rely on this when authoring a user agent. - proxies can and will reorder whatever pretty order you assign

Re: Reorder the http header generated by tomcat

2008-03-05 Thread Jim Jagielski
Requiring any specific order on HTTP response headers is completely bogus... On Mar 5, 2008, at 11:06 AM, George Sexton wrote: Jim Jagielski wrote: Why? Evidently because he doesn't understand how to write a sort routine that will put them in the order he would like... So, he wants you

Re: Reorder the http header generated by tomcat

2008-03-05 Thread George Sexton
Jim Jagielski wrote: Why? Evidently because he doesn't understand how to write a sort routine that will put them in the order he would like... So, he wants you to do it for him. I can sort of understand the desire. I had to write an iCal parser, and it turns out that it's a lot easier to

Re: Reorder the http header generated by tomcat

2008-03-05 Thread Jim Jagielski
Why? On Mar 5, 2008, at 1:07 AM, Hanks Wang (hanwan) wrote: Hi all, I'd like to describe my problem clearer: Currently the http header which generated by Tomcat is something like: Accept-Ranges: none Content-Type: text/plain Server: test123 Can I change it into below order? Server: test123

RE: Reorder the http header generated by tomcat

2008-03-04 Thread Hanks Wang (hanwan)
Hi all, I'd like to describe my problem clearer: Currently the http header which generated by Tomcat is something like: Accept-Ranges: none Content-Type: text/plain Server: test123 Can I change it into below order? Server: test123 Accept-Ranges: none Content-Type: text/plain Thanks! Han -