It looks like Tomcat7 is munging the content-type header.
The correct response header should be:

  Content-Type: multipart/byteranges; boundary=CATALINA_MIME_BOUNDARY   <<
good
  Content-Type: multipart/byteranges;boundary=CATALINA_MIME_BOUNDARY    <<
bad

Where there needs to be a space after the ';' character.
In my code, i am setting these values by hand, via setHeader,
but Tomcat7 seems to parse it and remove the space (don't know why). 

If i downgrade to Tomcat6, this problem goes away, and i get the right
headers again,
exactly as what i set them to be.

Tomcat team needs to probably fix this bug.  



Michele Mase' wrote:
> 
> I've the following problem: the server is running tomcat 7.0.27 (but also
> with 7.0.28 and 7.0.29) and from the client (ie + acrobat 9) when opening
> some pdf docs I receive an error complaining about a network error:
> 
> "A network error occured while accessing this document on interntet. Would
> you like to close the document or reload it?"
> 
> Reverting back to 7.0.26 the problem disappears ...
> 
> The connector is the http bio
> 
> 
> This is one public pdf that caused me the error when i put it on a tomcat
>>=7.0.27
> 
> http://www.regione.fvg.it/rafvg/export/sites/default/RAFVG/formazione-lavoro/agenzia-regionale-lavoro/allegati/joblab_2.0_scheda_tematica_1_FR.pdf
> 
> 
> What happened to the bio connector under the 7.0.27 version that could
> cause the issue?
> 
> The connector uses the standard roles, for example:
> 
> <Connector port="8080" protocol="HTTP/1.1"
>                connectionTimeout="20000"
>                redirectPort="8443" compression="off"/>
> 
> 
> Regards
> 
> Michele Maè
> 
> 

-- 
View this message in context: 
http://old.nabble.com/PDF-Download-problem-tomcat-%3E%3D-7.0.27-tp34229642p34621346.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to