I couldn't find anything relating to 'digest', 'hash', 'md5' or 'sha1'
at http://www.iana.org/assignments/media-types/ so I'd say text/plain.
Indeed some places encode these hashes as base64 and some as hex, so it
seems pretty lax.
Brad
Wayne Fay wrote:
pom = text/xml (its just an XML file... I suppose you could use
application/pom if you really wanted, but that seems excessive to me)
xml = text/xml (this is widely used and seems "standard")
md5 & sha1 = not so sure, but I imagine someone at IETF or W3C has
come up with some proposal to specify these Content-Types, so if you
Google and find it, report back.
Wayne
On 5/17/06, Paul Spencer <[EMAIL PROTECTED]> wrote:
Relative to content-type, Is their convention for the file in the
repository?
File Suggested
Extension Content-type
--------- ----------------------------------
*.jar application/java-archive
*.pom ?
*.xml ?
*.md5 ?
*.sha1 ?
Granted the content type is set in the web server, documenting this will
be helpful to anyone setting up an maven repository. I assume this is
also true for maven-proxy
Paul Spencer
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]