httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giuliano Catrambone <giuliano.catramb...@catrasoftware.it>
Subject [users@httpd] API to get the content type that will return the HTTP server?
Date Sun, 13 Jul 2008 10:31:00 GMT
Hi all,
    I built a C module to do some activities every time a new
    request is received by the HTTP server.

    Inside this module I need to know the Content Type the HTTP
    Server will send to the client.

    I found the ap_default_type(request_rec *r) API but I just discovered
    that it does not return the content type sent to the client
    because it seems to consider only the mime.types conf. file
    and do not consider the 'AddType' directives inside the httpd.conf.

    Could you tell me the way, from my C module, to retrieve the content 
type
    returned by the HTTP Server to the client?

    Thanks in advance
       giu

-- 
-----------------------------------------------------------------
Giuliano Catrambone
Director, Professional Services

Open source projects:
http://sourceforge.net/projects/catralibraries/
http://sourceforge.net/projects/openstreaming/

CatraSoftware:
Home page: http://www.catrasoftware.it

Streaming page:
http://www.catrasoftware.it/Streaming/CatraStreamingPlatform.htm

Mobile +39.393.8816655
Fixed: +39.02.90377228
Skype: Catrambone Giuliano
msn: giulianocatrambone@hotmail.com
Jabber: giuliano.catrambone@Jabber.org
Yahoo: giuliano.catrambone
-----------------------------------------------------------------



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message