httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giuliano Catrambone <>
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 
    returned by the HTTP Server to the client?

    Thanks in advance

Giuliano Catrambone
Director, Professional Services

Open source projects:

Home page:

Streaming page:

Mobile +39.393.8816655
Fixed: +39.02.90377228
Skype: Catrambone Giuliano
Yahoo: giuliano.catrambone

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message