[ 
https://issues.apache.org/jira/browse/JCR-3150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting resolved JCR-3150.
--------------------------------

    Resolution: Cannot Reproduce

Works for me:

$ curl -v -u admin:admin -T testFLV.flv 
http://localhost:8080/repository/default/test.flv
> PUT /repository/default/test.flv HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.21.0 [...]
> Host: localhost:8080
> Accept: */*
> Content-Length: 90580
> Expect: 100-continue
> 
< HTTP/1.1 100 Continue
< HTTP/1.1 201 Created
< Content-Length: 0
< Server: Jetty(6.1.x)
< 

$ curl -v -u admin:admin http://localhost:8080/repository/default/test.flv -o 
/dev/null
> GET /repository/default/test.flv HTTP/1.1
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.21.0 [...]
> Host: localhost:8080
> Accept: */*
> 
< HTTP/1.1 200 OK
< ETag: "90580-1321984290570"
< Content-Length: 90580
< Last-Modified: Tue, 22 Nov 2011 17:51:30 GMT
< Content-Type: video/x-flv
< Server: Jetty(6.1.x)
< 

Note the Content-Type: video/x-flv in the response headers.

Note that since Jackrabbit 2.0 and JCR-2334 the type of incoming documents is 
detected using the type database in Apache Tika. The mimetypes.properties file 
found in jackrabbit-jcr-server is no longer used for anything, so I removed it 
and related references in revision 1205114.
                
> Add FLV to mimetypes.properties
> -------------------------------
>
>                 Key: JCR-3150
>                 URL: https://issues.apache.org/jira/browse/JCR-3150
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr-server
>    Affects Versions: 2.2, 2.3
>            Reporter: Mike Pfaff
>            Priority: Minor
>
> Currently flash videos are stored with a mimetype of application/octet-stream 
> because the .flv extension is not recognized. This leads to subsequent 
> processes (e.g. video workflows, thumbnail extraction, etc.) ignoring these 
> FLV files completely. Could you thus add the following line to the 
> jackrabbit-jcr-server/src/main/resources/org/apache/jackrabbit/server/io/mimetypes.properties
>  file:
> flv=video/x-flv

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to