Opened 3 years ago

Closed 3 years ago

#5211 defect closed invalid (invalid)

Truncated swf (Flash) files with StaticProducer transfer

Reported by: ssymo Owned by: ssymo
Priority: normal Milestone:
Component: web Keywords: StaticProducer
Cc: jknight Branch:
Author: Launchpad Bug:

Description

I use NoRangeStaticProducer to send web requested files.
All works ok except for swf files. The swf file received by a standard browser (Firefox) is truncated on the first bytes.
I attach the sended and the received file as example.

Attachments (2)

svg_sent.swf (51.1 KB) - added by ssymo 3 years ago.
svg_received.swf (194 bytes) - added by ssymo 3 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 years ago by DefaultCC Plugin

  • Cc jknight added

Changed 3 years ago by ssymo

Changed 3 years ago by ssymo

comment:2 Changed 3 years ago by exarkun

  • Milestone regular-releases deleted
  • Owner set to ssymo

Please be more specific than "use". Ideally, at least follow the guidelines given by <http://sscce.org/>.

comment:3 in reply to: ↑ description Changed 3 years ago by ssymo

  • Resolution set to fixed
  • Status changed from new to closed

Replying to ssymo:

I use NoRangeStaticProducer to send web requested files.
All works ok except for swf files. The swf file received by a standard browser (Firefox) is truncated on the first bytes.
I attach the sended and the received file as example.

Too fast reply :-).
I fixed opening the file type as 'rb' in the place of 'r' (f = open(requestedfile, 'rb'))

comment:4 Changed 3 years ago by jknight

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:5 Changed 3 years ago by jknight

  • Resolution set to invalid
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.