projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf8fea
)
Updated mime types of large files to prevent killing people's
author
Brandon King
<kingb@caltech.edu>
Wed, 28 May 2008 21:15:48 +0000
(21:15 +0000)
committer
Brandon King
<kingb@caltech.edu>
Wed, 28 May 2008 21:15:48 +0000
(21:15 +0000)
web browsers. Not so fun the 2nd time it happens.
gaworkflow/frontend/fctracker/views.py
patch
|
blob
|
history
diff --git
a/gaworkflow/frontend/fctracker/views.py
b/gaworkflow/frontend/fctracker/views.py
index 05358e969adb34335e9259a0e03fbc0756308f46..ad3937c9e68e0bda32a21c864f516cbd3cbb1b9d 100644
(file)
--- a/
gaworkflow/frontend/fctracker/views.py
+++ b/
gaworkflow/frontend/fctracker/views.py
@@
-83,7
+83,7
@@
def result_fc_cnm_eland_lane(request, fc_id, cnm, lane):
f = opener.autoopen(filepath, 'r')
- return HttpResponse(f)
+ return HttpResponse(f
, mimetype="application/x-elandresult"
)
def bedfile_fc_cnm_eland_lane(request, fc_id, cnm, lane):
@@
-118,7
+118,7
@@
def bedfile_fc_cnm_eland_lane(request, fc_id, cnm, lane):
bedgen = makebed.make_bed_from_eland_stream_generator(fi, name, description)
- return HttpResponse(bedgen)
+ return HttpResponse(bedgen
, mimetype="application/x-bedfile"
)
def _files(flowcell_id, lane):