Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-2007, 05:39 PM
Junior Member
 
Join Date: Oct 2007
Posts: 16
Default Setting up default MIME types per module

Hello,
what would be the best way to set up different MIME types to be used for each module?
Having the following modules, it would be neat to have the corrent Content-type header set for each response automatically:
  • default
  • json
  • xml
The default module, for instance, should have the http-header 'Content-type: text/html' set for each response, while the json module gets 'Content-type: application/json'.

Any ideas would be appreciated.

Best Regards,
Troxy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:34 AM.