Atom Entry mime type warning.

#1
Hi,
I'm tryign to define a new MIME type for Atom Publishing Protocol Entry documents which have a content type of "application/atom+xml;type=entry"
So in the mime.conf file I add

entry = application/atom+xml;type=entry

but after restarting lsws, I get a warning
[MIME] File /usr/local/lsws/conf/mime.properties line 25: (invalid MIME description) - "entry"

Is this a bug or should I be setting the mime type to just "application/atom+xml" and setting the 'type' via some other mechanism? (If so, how?)

Note, requests are processed by a rails app.

cheers,

John.
 

mistwang

LiteSpeed Staff
#2
LSWS does not like the mime type with trialing ";type=entry".
Do you really need to add that MIME configuration like that? "application/atom+xml" is fine with LSWS. if the response is generated by Rails dynamically, you do not have to add that MIME configuration at all.
 
Top