My intuition says they may be related.
Problem 1: Witango provides wrong LENGTH value with some files.
Problem 2: When content-length is off by 1 byte, some browsers will have
problems. What kind of problems was not stated.
Robert said on rare cases when happened, it was specific to a file.
Robert - Did this problem only happen with PDFs or other file types too?
When you have the problem, did the file download successfully but not
open via browser, or could not get to open in windows at all?
Bill - With these MacOS9 uploaded PDFs, did Witango provide the wrong
LENGTH value? Would they just not open via the browser, or could not be
opened at all in windows?
--
--> Kent Swisher Engineering Tools
--> Alcatel-Lucent Application Support Engineer
--> Wireline Access Products [EMAIL PROTECTED]
--> Petaluma, CA 707-792-7116 (on net 2-855-7116)
On 5/9/2008 10:10 AM, Robert Garcia wrote:
That makes sense, but that wasn't the issue I saw. This was a huge pdf
library, loaded into db myself from disk. When witango did the length of
the data retrieved from db, sometimes off, rare, but it happens. Also,
it would happen on the same pdf over and over, and none of the others.
When using binary length function from mysql, no issues. Or, when
populating the database with a LENGTH value, calculating from RB on the
way, no issue. The difference was usually 1 byte.
On May 9, 2008, at 9:38 AM, William M Conlon wrote:
> This issue I experienced was that pdf files would not open in
windows. > It turned out that the pdf downloaded to windows was one
byte longer
> than the pdf uploaded from MacOS9. When I did a side-by-side
> comparison (pdfs are readable in a text editor even though there are
> non-printing characters) there was an extra line terminator (I
> forget which one).
>
> Bill
>
> William M. Conlon, P.E., Ph.D.
> To the Point
> 2330 Bryant Street
> Palo Alto, CA 94301
> vox: 650.327.2175 (direct)
> fax: 650.329.8335
> mobile: 650.906.9929
> e-mail: mailto:[EMAIL PROTECTED]
> web: http://www.tothept.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf