Safari could not get xod file with range-request

60 views
Skip to first unread message

Richard

unread,
Sep 28, 2014, 6:52:01 AM9/28/14
to pdfnet-w...@googlegroups.com
Hi all,

Now I have an issus about Safari couldn't get xod files with range-request(Invalid XOD file: Zip end header data is wrong size!)!!  But we can get xod files through  IE, Chrome, Firefox. They were fine. Could you please help me to fix this issus?

The website host in IIS 8.0. Here are some code in my back-end.

                    response.Headers.Add("Accept-Ranges", "*");

                    response.Headers.Add("Content-Range", contentRange);
                    response.Headers.Add("Access-Control-Max-Age","3000");
                    response.Headers.Remove("Cache-Control");
                    response.Headers.Add("Access-Control-Allow-Origin", "*");
                    response.Headers.Add("Access-Control-Allow-Credentials", "true");
                    response.Headers.Add("Access-Control-Allow-Headers", "origin,range,x-requested-with");
                    response.Headers.Add("Access-Control-Allow-Methods", "GET");

Hoping for your reply!

Regards,
Richard
Reply all
Reply to author
Forward
0 new messages