Change getMimeType and setMimeType to response->content_type.
This commit is contained in:
parent
e5adc07a05
commit
fd8f03a186
52 changed files with 138 additions and 175 deletions
|
|
@ -547,7 +547,7 @@ sub www_download {
|
|||
|
||||
my $storage = $self->getStorageLocation;
|
||||
|
||||
$self->session->http->setMimeType( "image/jpeg" );
|
||||
$self->session->response->content_type( "image/jpeg" );
|
||||
$self->session->http->setLastModified( $self->getContentLastModified );
|
||||
|
||||
my $resolution = $self->session->form->get("resolution");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue