On Thu, Apr 18, 2019 at 04:57:17PM -0400, Jose Blanco wrote:
> I'm wondering if someone could point me to the code that does this
> 
> URLConnection.guessContentTypeFromName(name)
> 
> In this line of code
> 
> https://github.com/DSpace/DSpace/blob/master/dspace-rest/src/main/java/org/dspace/rest/BitstreamResource.java#L716
> 
> I want to know the login behind this.

You will need the source code for your JRE.  That is
java.net.URLConnection.  The documentation is unrevealing.

https://docs.oracle.com/javase/7/docs/api/java/net/URLConnection.html

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

Reply via email to